summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kapp/appiface.h
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/kapp/appiface.h')
-rw-r--r--languages/cpp/app_templates/kapp/appiface.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/kapp/appiface.h b/languages/cpp/app_templates/kapp/appiface.h
new file mode 100644
index 00000000..4a24ae7f
--- /dev/null
+++ b/languages/cpp/app_templates/kapp/appiface.h
@@ -0,0 +1,17 @@
+%{H_TEMPLATE}
+
+#ifndef _%{APPNAMEUC}IFACE_H_
+#define _%{APPNAMEUC}IFACE_H_
+
+#include <dcopobject.h>
+
+class %{APPNAME}Iface : virtual public DCOPObject
+{
+ K_DCOP
+public:
+
+k_dcop:
+ virtual void openURL(QString url) = 0;
+};
+
+#endif // _%{APPNAMEUC}IFACE_H_