summaryrefslogtreecommitdiff
path: root/noncore
authorandyq <andyq>2002-10-16 21:25:55 (UTC)
committer andyq <andyq>2002-10-16 21:25:55 (UTC)
commitfd6aee0559a2f2f68b14f9913ebbf482c2561572 (patch) (side-by-side diff)
treeb692ed8532d95b712b5b414477c3b96a3f99c5fe /noncore
parentbf58f7bc221ba10f6681d9a1a5193bd208d9920e (diff)
downloadopie-fd6aee0559a2f2f68b14f9913ebbf482c2561572.zip
opie-fd6aee0559a2f2f68b14f9913ebbf482c2561572.tar.gz
opie-fd6aee0559a2f2f68b14f9913ebbf482c2561572.tar.bz2
Added active member specify if server is active or not (commented out)
Diffstat (limited to 'noncore') (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
@@ -40,24 +40,27 @@ public:
void readPackageFile( Server *local = 0, bool clearAll = true, bool installedToRoot= false );
void buildLocalPackages( Server *local );
Package *getPackage( const char *name );
Package *getPackage( QString &name );
QString toString();
vector<Package> &getPackageList();
-
+ bool isServerActive() { return active; }
+
void setServerName( const QString &name ) { serverName = name; }
void setServerUrl( const QString &url ) { serverUrl = url; }
+ void setActive( bool val ) { active = val; }
QString &getServerName() { return serverName; }
QString &getServerUrl() { return serverUrl; }
protected:
private:
QString serverName;
QString serverUrl;
QString packageFile;
+ bool active;
vector<Package> packageList;
};
#endif