summaryrefslogtreecommitdiff
path: root/noncore/settings/aqpkg/datamgr.h
Unidiff
Diffstat (limited to 'noncore/settings/aqpkg/datamgr.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/datamgr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/datamgr.h b/noncore/settings/aqpkg/datamgr.h
index eb802b5..8c6fb0d 100644
--- a/noncore/settings/aqpkg/datamgr.h
+++ b/noncore/settings/aqpkg/datamgr.h
@@ -20,45 +20,45 @@
20 20
21#include <map> 21#include <map>
22using namespace std; 22using 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 Pkgs" 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
35class DataManager 35class DataManager
36{ 36{
37public: 37public:
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( );
53 53
54 void writeOutIpkgConf(); 54 void writeOutIpkgConf();
55 55
56 56
57private: 57private:
58 QString activeServer; 58 QString activeServer;
59 59
60 vector<Server> serverList; 60 vector<Server> serverList;
61 vector<Destination> destList; 61 vector<Destination> destList;
62}; 62};
63 63
64#endif 64#endif