summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/elf/kfile_elf.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-01 04:18:53 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-01 04:18:53 -0600
commit512da0e58de54a750aea4baafe55cc35a1aeb6f9 (patch)
treeae6451aa2f6ac53dc2be39b1b90c9446db37984a /kfile-plugins/elf/kfile_elf.h
parent4fed04e9d28373016ace75443b3319a65a55bad2 (diff)
downloadtdelibs-512da0e58de54a750aea4baafe55cc35a1aeb6f9.tar.gz
tdelibs-512da0e58de54a750aea4baafe55cc35a1aeb6f9.zip
Add elf metainfo plugin
Diffstat (limited to 'kfile-plugins/elf/kfile_elf.h')
-rw-r--r--kfile-plugins/elf/kfile_elf.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/kfile-plugins/elf/kfile_elf.h b/kfile-plugins/elf/kfile_elf.h
new file mode 100644
index 000000000..def7e50d9
--- /dev/null
+++ b/kfile-plugins/elf/kfile_elf.h
@@ -0,0 +1,50 @@
+/* This file is part of the KDE project
+ * Copyright (C) 2002 Shane Wright <me@shanewright.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License as published by the Free Software Foundation version 2.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ *
+ */
+
+#ifndef __KFILE_BMP_H__
+#define __KFILE_BMP_H__
+
+#include <kfilemetainfo.h>
+
+// Elven things
+extern "C" {
+ #include <libr.h>
+ #include <libr-icons.h>
+}
+
+#include <string.h>
+
+#include <sys/stat.h>
+#include <stdlib.h>
+#include <stdio.h>
+
+class TQStringList;
+
+class KElfPlugin: public KFilePlugin
+{
+ Q_OBJECT
+ TQ_OBJECT
+
+public:
+ KElfPlugin( TQObject *parent, const char *name, const TQStringList& args );
+
+ virtual bool readInfo( KFileMetaInfo& info, uint what);
+};
+
+#endif