summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/tdefileplugin/tdefile_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/tdefileplugin/tdefile_plugin.h')
-rw-r--r--languages/cpp/app_templates/tdefileplugin/tdefile_plugin.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/tdefileplugin/tdefile_plugin.h b/languages/cpp/app_templates/tdefileplugin/tdefile_plugin.h
new file mode 100644
index 00000000..96fcaf0d
--- /dev/null
+++ b/languages/cpp/app_templates/tdefileplugin/tdefile_plugin.h
@@ -0,0 +1,25 @@
+%{H_TEMPLATE}
+
+#ifndef __KFILE_%{APPNAMEUC}_H__
+#define __KFILE_%{APPNAMEUC}_H__
+
+/**
+ * Note: For further information look into <$TDEDIR/include/tdefilemetainfo.h>
+ */
+#include <tdefilemetainfo.h>
+
+class TQStringList;
+
+class %{APPNAME}Plugin: public KFilePlugin
+{
+ Q_OBJECT
+
+
+public:
+ %{APPNAME}Plugin( TQObject *parent, const char *name, const TQStringList& args );
+
+ virtual bool readInfo( KFileMetaInfo& info, uint what);
+};
+
+#endif // __KFILE_%{APPNAMEUC}_H__
+