author | andyq <andyq> | 2002-10-25 09:49:57 (UTC) |
---|---|---|
committer | andyq <andyq> | 2002-10-25 09:49:57 (UTC) |
commit | 4a2f6dd634aa277bca3818f090d691844e219f64 (patch) (unidiff) | |
tree | 5b76af0178f93684e90f8ff2e8250f87c5eb2517 /noncore | |
parent | 1d314624759bf1b18977f0569643ea11473d84cf (diff) | |
download | opie-4a2f6dd634aa277bca3818f090d691844e219f64.zip opie-4a2f6dd634aa277bca3818f090d691844e219f64.tar.gz opie-4a2f6dd634aa277bca3818f090d691844e219f64.tar.bz2 |
Added a few fields for dependancy tracking
-rw-r--r-- | noncore/settings/aqpkg/package.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/settings/aqpkg/package.h b/noncore/settings/aqpkg/package.h index 2f2a165..56ef874 100644 --- a/noncore/settings/aqpkg/package.h +++ b/noncore/settings/aqpkg/package.h | |||
@@ -43,6 +43,7 @@ public: | |||
43 | void setPackageStoredLocally( bool local ){ packageStoredLocally = local; } | 43 | void setPackageStoredLocally( bool local ){ packageStoredLocally = local; } |
44 | void setInstalledToRoot( bool root ) { installedToRoot = root; } | 44 | void setInstalledToRoot( bool root ) { installedToRoot = root; } |
45 | void setInstalledTo( Destination *d ) { installedTo = d; } | 45 | void setInstalledTo( Destination *d ) { installedTo = d; } |
46 | void setDependancies( QString &deps ) { dependancies = deps; } | ||
46 | 47 | ||
47 | Package *getLocalPackage() { return localPackage; } | 48 | Package *getLocalPackage() { return localPackage; } |
48 | QString getPackageName() { return packageName; } | 49 | QString getPackageName() { return packageName; } |
@@ -50,6 +51,7 @@ public: | |||
50 | QString getStatus() { return status; } | 51 | QString getStatus() { return status; } |
51 | QString getDescription() { return description; } | 52 | QString getDescription() { return description; } |
52 | QString getFilename() { return filename; } | 53 | QString getFilename() { return filename; } |
54 | QString getDependancies() { return dependancies; } | ||
53 | 55 | ||
54 | bool isInstalled(); | 56 | bool isInstalled(); |
55 | bool isPackageStoredLocally(){ return packageStoredLocally; } | 57 | bool isPackageStoredLocally(){ return packageStoredLocally; } |
@@ -73,6 +75,7 @@ private: | |||
73 | bool installedToRoot; | 75 | bool installedToRoot; |
74 | bool installed; | 76 | bool installed; |
75 | bool differentVersionAvailable; | 77 | bool differentVersionAvailable; |
78 | QString dependancies; | ||
76 | 79 | ||
77 | Destination *installedTo; | 80 | Destination *installedTo; |
78 | }; | 81 | }; |