summaryrefslogtreecommitdiffstats
path: root/kmrml/kmrml/lib/watcher_stub.h
blob: 04b1292e21faadf50ff0640b554279bded29d961 (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
35
36
//
// Generated in ../server/ via dcopidl -- needs to be in the lib tho.
// Regenerate when necessary by uncommenting the watcher.stub in
// ../server/Makefile.am
//

#ifndef __WATCHER_STUB__
#define __WATCHER_STUB__

#include <dcopstub.h>
#include <qdict.h>
#include <qptrlist.h>
#include <qmap.h>
#include <qstrlist.h>
#include <qstringlist.h>
#include <qtimer.h>
#include <kdedmodule.h>
#include <kprocess.h>

namespace KMrml {

class Watcher_stub : public DCOPStub
{
public:
    Watcher_stub( const QCString& app, const QCString& id );
    Watcher_stub( DCOPClient* client, const QCString& app, const QCString& id );
    virtual bool requireDaemon( const QCString& clientAppId, const QString& daemonKey, const QString& commandline, uint timeout, int numRestarts );
    virtual void unrequireDaemon( const QCString& clientAppId, const QString& daemonKey );
    virtual QStringList runningDaemons();
protected:
    Watcher_stub() : DCOPStub( never_use ) {};
};

} // namespace

#endif