author | andyq <andyq> | 2002-10-16 21:25:55 (UTC) |
---|---|---|
committer | andyq <andyq> | 2002-10-16 21:25:55 (UTC) |
commit | fd6aee0559a2f2f68b14f9913ebbf482c2561572 (patch) (side-by-side diff) | |
tree | b692ed8532d95b712b5b414477c3b96a3f99c5fe /noncore | |
parent | bf58f7bc221ba10f6681d9a1a5193bd208d9920e (diff) | |
download | opie-fd6aee0559a2f2f68b14f9913ebbf482c2561572.zip opie-fd6aee0559a2f2f68b14f9913ebbf482c2561572.tar.gz opie-fd6aee0559a2f2f68b14f9913ebbf482c2561572.tar.bz2 |
Added active member specify if server is active or not (commented out)
-rw-r--r-- | noncore/settings/aqpkg/server.h | 5 |
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 |