summaryrefslogtreecommitdiffstats
path: root/krfb/krfb/krfbifaceimpl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'krfb/krfb/krfbifaceimpl.cc')
-rw-r--r--krfb/krfb/krfbifaceimpl.cc27
1 files changed, 27 insertions, 0 deletions
diff --git a/krfb/krfb/krfbifaceimpl.cc b/krfb/krfb/krfbifaceimpl.cc
new file mode 100644
index 00000000..a79b1437
--- /dev/null
+++ b/krfb/krfb/krfbifaceimpl.cc
@@ -0,0 +1,27 @@
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+
+#include "krfbifaceimpl.h"
+
+KRfbIfaceImpl::KRfbIfaceImpl(RFBController *c) :
+ DCOPObject("krfbIface"),
+ controller(c)
+{
+}
+
+void KRfbIfaceImpl::exit()
+{
+ emit exitApp();
+}
+void KRfbIfaceImpl::setAllowDesktopControl(bool b)
+{
+ controller->enableDesktopControl(b);
+}
+
+#include "krfbifaceimpl.moc"