summaryrefslogtreecommitdiffstats
path: root/ksmserver/KSMServerInterface.h
blob: 904b50927508d6ea2f15ddb53584e99d6c49dbef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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