author | andyq <andyq> | 2002-10-25 09:49:30 (UTC) |
---|---|---|
committer | andyq <andyq> | 2002-10-25 09:49:30 (UTC) |
commit | 1d314624759bf1b18977f0569643ea11473d84cf (patch) (side-by-side diff) | |
tree | d1900e3f65be7dea72caa1f0437841eff5d1a033 | |
parent | ff9b13c8c312d0a385770d7742530e526e19117e (diff) | |
download | opie-1d314624759bf1b18977f0569643ea11473d84cf.zip opie-1d314624759bf1b18977f0569643ea11473d84cf.tar.gz opie-1d314624759bf1b18977f0569643ea11473d84cf.tar.bz2 |
Changed name of local server to Installed 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 94989a9..ab153ba 100644 --- a/noncore/settings/aqpkg/datamgr.h +++ b/noncore/settings/aqpkg/datamgr.h @@ -1,64 +1,64 @@ /*************************************************************************** datamgr.h - description ------------------- begin : Thu Aug 29 2002 copyright : (C) 2002 by Andy Qua email : andy.qua@blueyonder.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; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef DATAMGR_H #define DATAMGR_H #include <map> using namespace std; #include "server.h" #include "destination.h" -#define LOCAL_SERVER "local" +#define LOCAL_SERVER "Installed Pgks" #define LOCAL_IPKGS "local IPKG" /** *@author Andy Qua */ class DataManager { public: DataManager(); ~DataManager(); void setActiveServer( const QString &act ) { activeServer = act; } QString &getActiveServer( ) { return activeServer; } Server *getLocalServer() { return getServer( LOCAL_SERVER ); } vector<Server> &getServerList() { return serverList; } Server *getServer( const char *name ); vector<Destination> &getDestinationList() { return destList; } Destination *getDestination( const char *name ); void loadServers(); void reloadServerData( const char *sn ); void writeOutIpkgConf(); private: QString activeServer; vector<Server> serverList; vector<Destination> destList; }; #endif |