summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/tdedcop/mainclass.h
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/tdedcop/mainclass.h')
-rw-r--r--languages/cpp/app_templates/tdedcop/mainclass.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/tdedcop/mainclass.h b/languages/cpp/app_templates/tdedcop/mainclass.h
new file mode 100644
index 00000000..13504f82
--- /dev/null
+++ b/languages/cpp/app_templates/tdedcop/mainclass.h
@@ -0,0 +1,32 @@
+%{H_TEMPLATE}
+
+#ifndef MAINCLASS_H
+#define MAINCLASS_H
+
+#include "%{APPNAMELC}_iface.h"
+
+/**
+ *
+ * @author %{AUTHOR}
+ **/
+class MainClass : virtual public DCOPDemoIface
+{
+public:
+ MainClass();
+
+ ~MainClass();
+
+
+ // Here is the implementation of the example DCOP interface methods.
+ virtual void setStrVal(const TQString &);
+ virtual void setIntVal(int);
+ virtual TQString strVal() const;
+ virtual int intVal() const;
+
+private:
+ TQString m_strValue;
+ int m_intValue;
+
+};
+
+#endif