summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/tdeioslave/slave.h
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/tdeioslave/slave.h')
-rw-r--r--languages/cpp/app_templates/tdeioslave/slave.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/tdeioslave/slave.h b/languages/cpp/app_templates/tdeioslave/slave.h
new file mode 100644
index 00000000..672e6121
--- /dev/null
+++ b/languages/cpp/app_templates/tdeioslave/slave.h
@@ -0,0 +1,23 @@
+
+#ifndef _%{APPNAMELC}_H_
+#define _%{APPNAMELC}_H_
+
+#include <tqstring.h>
+#include <tqcstring.h>
+
+#include <kurl.h>
+#include <tdeio/global.h>
+#include <tdeio/slavebase.h>
+
+class TQCString;
+
+class kio_%{APPNAMELC}Protocol : public TDEIO::SlaveBase
+{
+public:
+ kio_%{APPNAMELC}Protocol(const TQCString &pool_socket, const TQCString &app_socket);
+ virtual ~kio_%{APPNAMELC}Protocol();
+ virtual void mimetype(const KURL& url);
+ virtual void get(const KURL& url);
+};
+
+#endif