summaryrefslogtreecommitdiffstats
path: root/kpager/kpagerIface.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpager/kpagerIface.h')
-rw-r--r--kpager/kpagerIface.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/kpager/kpagerIface.h b/kpager/kpagerIface.h
new file mode 100644
index 000000000..5288a21f3
--- /dev/null
+++ b/kpager/kpagerIface.h
@@ -0,0 +1,22 @@
+#ifndef _KPAGERIFACE_H_
+#define _KPAGERIFACE_H_
+
+#include <dcopobject.h>
+
+class KPagerIface : virtual public DCOPObject
+{
+ K_DCOP
+
+k_dcop:
+/**
+ * If it's closed, open the window at the specified location
+ */
+ virtual void showAt(int x, int y)=0;
+
+/**
+ * Toggles the show/hide state of kpager
+ */
+ virtual void toggleShow(int x, int y)=0;
+};
+#endif
+