summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/packagelistlocal.h
authortille <tille>2002-05-01 14:00:09 (UTC)
committer tille <tille>2002-05-01 14:00:09 (UTC)
commite729a9bdd9f37f4bd610d10122f002a0540c93ed (patch) (side-by-side diff)
treea23696d8742a36b57256281dc7e2f7848407be61 /noncore/unsupported/oipkg/packagelistlocal.h
parent7e5615473c1d103db66f42ae60bf9ed57d52566c (diff)
downloadopie-e729a9bdd9f37f4bd610d10122f002a0540c93ed.zip
opie-e729a9bdd9f37f4bd610d10122f002a0540c93ed.tar.gz
opie-e729a9bdd9f37f4bd610d10122f002a0540c93ed.tar.bz2
added ipkgfind remote query
Diffstat (limited to 'noncore/unsupported/oipkg/packagelistlocal.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/packagelistlocal.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/noncore/unsupported/oipkg/packagelistlocal.h b/noncore/unsupported/oipkg/packagelistlocal.h
new file mode 100644
index 0000000..887126b
--- a/dev/null
+++ b/noncore/unsupported/oipkg/packagelistlocal.h
@@ -0,0 +1,30 @@
+#ifndef PACKAGELISTLOCAL_H
+#define PACKAGELISTLOCAL_H
+
+#include "packagelist.h"
+
+
+#define HACK
+#ifdef HACK
+ static QString listsDir="/usr/lib/ipkg/";
+ static QString statusDir="/usr/lib/ipkg/";
+#endif
+
+class PackageListLocal : public PackageList {
+public:
+ PackageListLocal();
+ PackageListLocal( PackageManagerSettings* );
+ virtual ~PackageListLocal();
+
+public slots:
+ void update();
+private:
+#ifndef HACK
+ QString listsDir;
+ QString statusDir;
+#endif
+ void parseStatus();
+ void parseList();
+};
+
+#endif