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 | |
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 | |||
@@ -42,15 +42,17 @@ public: | |||
42 | void setFilename( QString &f ); | 42 | void setFilename( QString &f ); |
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; } |
49 | QString getVersion() { return version; } | 50 | QString getVersion() { return version; } |
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; } |
56 | bool isInstalledToRoot() { return installedToRoot; } | 58 | bool isInstalledToRoot() { return installedToRoot; } |
@@ -72,8 +74,9 @@ private: | |||
72 | bool packageStoredLocally; | 74 | bool packageStoredLocally; |
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 | }; |
79 | 82 | ||