Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

IScreenSaver.h

00001 /*
00002  * synergy -- mouse and keyboard sharing utility
00003  * Copyright (C) 2002 Chris Schoeneman
00004  * 
00005  * This package is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU General Public License
00007  * found in the file COPYING that should have accompanied this file.
00008  * 
00009  * This package is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  */
00014 
00015 #ifndef ISCREENSAVER_H
00016 #define ISCREENSAVER_H
00017 
00018 #include "IInterface.h"
00019 #include "CEvent.h"
00020 
00022 
00025 class IScreenSaver : public IInterface {
00026 public:
00027     // note -- the c'tor/d'tor must *not* enable/disable the screen saver
00028 
00030 
00031 
00033 
00039     virtual void        enable() = 0;
00040 
00042 
00046     virtual void        disable() = 0;
00047 
00049 
00052     virtual void        activate() = 0;
00053 
00055 
00059     virtual void        deactivate() = 0;
00060 
00062 
00063 
00064 
00066 
00069     virtual bool        isActive() const = 0;
00070 
00072 };
00073 
00074 #endif

Generated on Fri Nov 6 00:21:15 2009 for synergy-plus by  doxygen 1.3.9.1