blob: 887126b5debbc54cfae7cc6a1083445d2a571d70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
|