summaryrefslogtreecommitdiffstats
path: root/ksmserver/KSMServerInterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'ksmserver/KSMServerInterface.h')
-rw-r--r--ksmserver/KSMServerInterface.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/ksmserver/KSMServerInterface.h b/ksmserver/KSMServerInterface.h
new file mode 100644
index 000000000..a628b92ba
--- /dev/null
+++ b/ksmserver/KSMServerInterface.h
@@ -0,0 +1,29 @@
+#ifndef KSMSERVER_INTERFACE_H
+#define KSMSERVER_INTERFACE_H
+
+#include <dcopobject.h>
+#include <tqstringlist.h>
+
+class KSMServerInterface : virtual public DCOPObject
+{
+ K_DCOP
+
+k_dcop:
+ virtual void logout(int, int, int ) = 0;
+ virtual void restoreSessionInternal() = 0;
+ virtual void restoreSessionDoneInternal() = 0;
+ virtual TQStringList sessionList() = 0;
+
+ virtual TQString currentSession() = 0;
+ virtual void saveCurrentSession() = 0;
+ virtual void saveCurrentSessionAs( TQString ) = 0;
+
+ virtual void autoStart2() = 0;
+
+ virtual void suspendStartup( TQCString ) = 0;
+ virtual void resumeStartup( TQCString ) = 0;
+
+ virtual void logoutTimed( int, int, TQString ) = 0;
+};
+
+#endif