summaryrefslogtreecommitdiffstats
path: root/tdescreensaver/xsavers/saver.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:16:15 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:16:15 -0600
commit7e09b5c2efae58399621a938de26b9675b8ba621 (patch)
treede2c9535e1f4c48ae91910492d298eba1d593fd5 /tdescreensaver/xsavers/saver.h
parent159f7e147ac33c924b3ce9050c8f03cbc54916ee (diff)
downloadtdeartwork-7e09b5c2efae58399621a938de26b9675b8ba621.tar.gz
tdeartwork-7e09b5c2efae58399621a938de26b9675b8ba621.zip
Rename a number of libraries and executables to avoid conflicts with KDE4
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
+