summaryrefslogtreecommitdiffstats
path: root/ksmserver/KSMServerInterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'ksmserver/KSMServerInterface.h')
-rw-r--r--ksmserver/KSMServerInterface.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/ksmserver/KSMServerInterface.h b/ksmserver/KSMServerInterface.h
new file mode 100644
index 000000000..904b50927
--- /dev/null
+++ b/ksmserver/KSMServerInterface.h
@@ -0,0 +1,27 @@
+#ifndef KSMSERVER_INTERFACE_H
+#define KSMSERVER_INTERFACE_H
+
+#include <dcopobject.h>
+#include <qstringlist.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 QStringList sessionList() = 0;
+
+ virtual QString currentSession() = 0;
+ virtual void saveCurrentSession() = 0;
+ virtual void saveCurrentSessionAs( QString ) = 0;
+
+ virtual void autoStart2() = 0;
+
+ virtual void suspendStartup( QCString ) = 0;
+ virtual void resumeStartup( QCString ) = 0;
+};
+
+#endif