summaryrefslogtreecommitdiffstats
path: root/ksmserver/KSMServerInterface.h
blob: 3645eb84a6d807e4b6027ab82f88e1b1e001d0a8 (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
28
29
30
31
32
33
34
#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 logoutTimed( int, int, TQString ) = 0;
  virtual bool suspend(int) = 0;

  virtual TQStringList suspendOptions() = 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 reconfigure() = 0;
};

#endif