diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 47d455dd55be855e4cc691c32f687f723d9247ee (patch) | |
tree | 52e236aaa2576bdb3840ebede26619692fed6d7d /kmrml/kmrml/lib/watcher_stub.h | |
download | tdegraphics-47d455dd55be855e4cc691c32f687f723d9247ee.tar.gz tdegraphics-47d455dd55be855e4cc691c32f687f723d9247ee.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmrml/kmrml/lib/watcher_stub.h')
-rw-r--r-- | kmrml/kmrml/lib/watcher_stub.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/kmrml/kmrml/lib/watcher_stub.h b/kmrml/kmrml/lib/watcher_stub.h new file mode 100644 index 00000000..04b1292e --- /dev/null +++ b/kmrml/kmrml/lib/watcher_stub.h @@ -0,0 +1,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 |