author | kergoth <kergoth> | 2002-10-28 20:23:25 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-10-28 20:23:25 (UTC) |
commit | 052303d29fe4a7b16858398f79f667e57ae569c9 (patch) (unidiff) | |
tree | 0b9200a1f1ed8c47f6419d8bbec8320404b7eacc | |
parent | 3ba494eb02e72e1f9a732c46ec8085e843f01eca (diff) | |
download | opie-052303d29fe4a7b16858398f79f667e57ae569c9.zip opie-052303d29fe4a7b16858398f79f667e57ae569c9.tar.gz opie-052303d29fe4a7b16858398f79f667e57ae569c9.tar.bz2 |
Typo fix, Pgks->Pkgs
-rw-r--r-- | noncore/settings/aqpkg/datamgr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/datamgr.h b/noncore/settings/aqpkg/datamgr.h index ab153ba..eb802b5 100644 --- a/noncore/settings/aqpkg/datamgr.h +++ b/noncore/settings/aqpkg/datamgr.h | |||
@@ -1,59 +1,59 @@ | |||
1 | /*************************************************************************** | 1 | /*************************************************************************** |
2 | datamgr.h - description | 2 | datamgr.h - description |
3 | ------------------- | 3 | ------------------- |
4 | begin : Thu Aug 29 2002 | 4 | begin : Thu Aug 29 2002 |
5 | copyright : (C) 2002 by Andy Qua | 5 | copyright : (C) 2002 by Andy Qua |
6 | email : andy.qua@blueyonder.co.uk | 6 | email : andy.qua@blueyonder.co.uk |
7 | ***************************************************************************/ | 7 | ***************************************************************************/ |
8 | 8 | ||
9 | /*************************************************************************** | 9 | /*************************************************************************** |
10 | * * | 10 | * * |
11 | * This program is free software; you can redistribute it and/or modify * | 11 | * This program is free software; you can redistribute it and/or modify * |
12 | * it under the terms of the GNU General Public License as published by * | 12 | * it under the terms of the GNU General Public License as published by * |
13 | * the Free Software Foundation; either version 2 of the License, or * | 13 | * the Free Software Foundation; either version 2 of the License, or * |
14 | * (at your option) any later version. * | 14 | * (at your option) any later version. * |
15 | * * | 15 | * * |
16 | ***************************************************************************/ | 16 | ***************************************************************************/ |
17 | 17 | ||
18 | #ifndef DATAMGR_H | 18 | #ifndef DATAMGR_H |
19 | #define DATAMGR_H | 19 | #define DATAMGR_H |
20 | 20 | ||
21 | #include <map> | 21 | #include <map> |
22 | using namespace std; | 22 | using namespace std; |
23 | 23 | ||
24 | #include "server.h" | 24 | #include "server.h" |
25 | #include "destination.h" | 25 | #include "destination.h" |
26 | 26 | ||
27 | #define LOCAL_SERVER "Installed Pgks" | 27 | #define LOCAL_SERVER "Installed Pkgs" |
28 | #define LOCAL_IPKGS "local IPKG" | 28 | #define LOCAL_IPKGS "local IPKG" |
29 | 29 | ||
30 | /** | 30 | /** |
31 | *@author Andy Qua | 31 | *@author Andy Qua |
32 | */ | 32 | */ |
33 | 33 | ||
34 | 34 | ||
35 | class DataManager | 35 | class DataManager |
36 | { | 36 | { |
37 | public: | 37 | public: |
38 | DataManager(); | 38 | DataManager(); |
39 | ~DataManager(); | 39 | ~DataManager(); |
40 | 40 | ||
41 | void setActiveServer( const QString &act ) { activeServer = act; } | 41 | void setActiveServer( const QString &act ) { activeServer = act; } |
42 | QString &getActiveServer( ) { return activeServer; } | 42 | QString &getActiveServer( ) { return activeServer; } |
43 | 43 | ||
44 | Server *getLocalServer() { return getServer( LOCAL_SERVER ); } | 44 | Server *getLocalServer() { return getServer( LOCAL_SERVER ); } |
45 | vector<Server> &getServerList() { return serverList; } | 45 | vector<Server> &getServerList() { return serverList; } |
46 | Server *getServer( const char *name ); | 46 | Server *getServer( const char *name ); |
47 | 47 | ||
48 | vector<Destination> &getDestinationList() { return destList; } | 48 | vector<Destination> &getDestinationList() { return destList; } |
49 | Destination *getDestination( const char *name ); | 49 | Destination *getDestination( const char *name ); |
50 | 50 | ||
51 | void loadServers(); | 51 | void loadServers(); |
52 | void reloadServerData( const char *sn ); | 52 | void reloadServerData( const char *sn ); |
53 | 53 | ||
54 | void writeOutIpkgConf(); | 54 | void writeOutIpkgConf(); |
55 | 55 | ||
56 | 56 | ||
57 | private: | 57 | private: |
58 | QString activeServer; | 58 | QString activeServer; |
59 | 59 | ||