summaryrefslogtreecommitdiffstats
path: root/tdescreensaver/xsavers/saver.h
diff options
context:
space:
mode:
Diffstat (limited to 'tdescreensaver/xsavers/saver.h')
-rw-r--r--tdescreensaver/xsavers/saver.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/tdescreensaver/xsavers/saver.h b/tdescreensaver/xsavers/saver.h
new file mode 100644
index 00000000..598808bc
--- /dev/null
+++ b/tdescreensaver/xsavers/saver.h
@@ -0,0 +1,29 @@
+
+#ifndef __SAVER_H__
+#define __SAVER_H__
+
+#include <tqobject.h>
+#include <X11/Xlib.h>
+
+extern void startScreenSaver( Drawable d );
+extern void stopScreenSaver();
+extern int setupScreenSaver();
+
+//-----------------------------------------------------------------------------
+class kScreenSaver : public TQObject
+{
+ Q_OBJECT
+
+public:
+ kScreenSaver( Drawable drawable );
+ virtual ~kScreenSaver();
+
+protected:
+ Drawable mDrawable;
+ GC mGc;
+ unsigned mWidth;
+ unsigned mHeight;
+};
+
+#endif
+