summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/tdedcop/app_iface.h
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2014-03-02 20:05:33 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-03-02 20:05:33 +0100
commit722ce1efbac31c61b1d4b13f7e075c9f311e3e73 (patch)
treedb1b6b28566e5fe9accb4a688f7257673cecb080 /languages/cpp/app_templates/tdedcop/app_iface.h
parentafb74575caf7dd8ccb6c235b1c8d788e320c19da (diff)
downloadtdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz
tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip
Finish renaming tdevelop components
Diffstat (limited to 'languages/cpp/app_templates/tdedcop/app_iface.h')
-rw-r--r--languages/cpp/app_templates/tdedcop/app_iface.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/tdedcop/app_iface.h b/languages/cpp/app_templates/tdedcop/app_iface.h
new file mode 100644
index 00000000..7049c712
--- /dev/null
+++ b/languages/cpp/app_templates/tdedcop/app_iface.h
@@ -0,0 +1,19 @@
+%{H_TEMPLATE}
+
+#include <dcopobject.h>
+
+class DCOPDemoIface : virtual public DCOPObject
+{
+ K_DCOP
+ k_dcop:
+
+
+ // Here you should place your DCOP interface.
+ // Below are four example methods.
+ virtual TQString strVal() const = 0;
+ virtual int intVal() const = 0;
+
+ virtual void setIntVal( int num ) = 0;
+ virtual void setStrVal( const TQString &str ) = 0;
+
+};