summaryrefslogtreecommitdiffstats
path: root/ksmserver/KSMServerInterface.h
blob: a628b92bab28ebb2c9035b1cd4ce8a2a8eef5818 (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
#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