summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/server.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/server.h b/noncore/settings/aqpkg/server.h
index 8f8d384..5f83f75 100644
--- a/noncore/settings/aqpkg/server.h
+++ b/noncore/settings/aqpkg/server.h
@@ -34,30 +34,33 @@ public:
34 ~Server(); 34 ~Server();
35 35
36 void cleanUp(); 36 void cleanUp();
37 37
38 void readStatusFile( vector<Destination> &v ); 38 void readStatusFile( vector<Destination> &v );
39 void readLocalIpks( Server *local ); 39 void readLocalIpks( Server *local );
40 void readPackageFile( Server *local = 0, bool clearAll = true, bool installedToRoot= false ); 40 void readPackageFile( Server *local = 0, bool clearAll = true, bool installedToRoot= false );
41 void buildLocalPackages( Server *local ); 41 void buildLocalPackages( Server *local );
42 Package *getPackage( const char *name ); 42 Package *getPackage( const char *name );
43 Package *getPackage( QString &name ); 43 Package *getPackage( QString &name );
44 QString toString(); 44 QString toString();
45 vector<Package> &getPackageList(); 45 vector<Package> &getPackageList();
46 46 bool isServerActive() { return active; }
47
47 void setServerName( const QString &name ) { serverName = name; } 48 void setServerName( const QString &name ) { serverName = name; }
48 void setServerUrl( const QString &url ) { serverUrl = url; } 49 void setServerUrl( const QString &url ) { serverUrl = url; }
50 void setActive( bool val ) { active = val; }
49 QString &getServerName() { return serverName; } 51 QString &getServerName() { return serverName; }
50 QString &getServerUrl() { return serverUrl; } 52 QString &getServerUrl() { return serverUrl; }
51 53
52protected: 54protected:
53 55
54private: 56private:
55 QString serverName; 57 QString serverName;
56 QString serverUrl; 58 QString serverUrl;
57 QString packageFile; 59 QString packageFile;
60 bool active;
58 61
59 62
60 vector<Package> packageList; 63 vector<Package> packageList;
61}; 64};
62 65
63#endif 66#endif