diff options
Diffstat (limited to 'kscreensaver/xsavers/saver.h')
-rw-r--r-- | kscreensaver/xsavers/saver.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/kscreensaver/xsavers/saver.h b/kscreensaver/xsavers/saver.h new file mode 100644 index 00000000..4f4727d0 --- /dev/null +++ b/kscreensaver/xsavers/saver.h @@ -0,0 +1,28 @@ + +#ifndef __SAVER_H__ +#define __SAVER_H__ + +#include <qobject.h> +#include <X11/Xlib.h> + +extern void startScreenSaver( Drawable d ); +extern void stopScreenSaver(); +extern int setupScreenSaver(); + +//----------------------------------------------------------------------------- +class kScreenSaver : public QObject +{ + Q_OBJECT +public: + kScreenSaver( Drawable drawable ); + virtual ~kScreenSaver(); + +protected: + Drawable mDrawable; + GC mGc; + unsigned mWidth; + unsigned mHeight; +}; + +#endif + |