summaryrefslogtreecommitdiffstats
path: root/krfb/krfb/krfbiface.h
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commitbcb704366cb5e333a626c18c308c7e0448a8e69f (patch)
treef0d6ab7d78ecdd9207cf46536376b44b91a1ca71 /krfb/krfb/krfbiface.h
downloadtdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.tar.gz
tdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.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/kdenetwork@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'krfb/krfb/krfbiface.h')
-rw-r--r--krfb/krfb/krfbiface.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/krfb/krfb/krfbiface.h b/krfb/krfb/krfbiface.h
new file mode 100644
index 00000000..365c4b7a
--- /dev/null
+++ b/krfb/krfb/krfbiface.h
@@ -0,0 +1,24 @@
+#ifndef __KRFB_IFACE_H
+#define __KRFB_IFACE_H
+
+#include <dcopobject.h>
+
+class krfbIface : virtual public DCOPObject
+{
+ K_DCOP
+k_dcop:
+
+ /**
+ * Quits krfb, connected clients will be disconnected.
+ */
+ virtual void exit() = 0;
+
+ /**
+ * If this feature is activated krfb allows the connecting client to
+ * control the desktop (pointer & keyboard).
+ * @return a true to activate desktop control
+ */
+ virtual void setAllowDesktopControl(bool a) = 0;
+
+};
+#endif