summaryrefslogtreecommitdiff
path: root/noncore/settings/aqpkg/package.h
authorandyq <andyq>2002-10-25 09:49:57 (UTC)
committer andyq <andyq>2002-10-25 09:49:57 (UTC)
commit4a2f6dd634aa277bca3818f090d691844e219f64 (patch) (unidiff)
tree5b76af0178f93684e90f8ff2e8250f87c5eb2517 /noncore/settings/aqpkg/package.h
parent1d314624759bf1b18977f0569643ea11473d84cf (diff)
downloadopie-4a2f6dd634aa277bca3818f090d691844e219f64.zip
opie-4a2f6dd634aa277bca3818f090d691844e219f64.tar.gz
opie-4a2f6dd634aa277bca3818f090d691844e219f64.tar.bz2
Added a few fields for dependancy tracking
Diffstat (limited to 'noncore/settings/aqpkg/package.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/package.h3
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
@@ -40,19 +40,21 @@ public:
40 void setStatus( QString &s ); 40 void setStatus( QString &s );
41 void setDescription( QString &d ); 41 void setDescription( QString &d );
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; }
57 QString getInstalledVersion(); 59 QString getInstalledVersion();
58 QString getInstalledPackageName(); 60 QString getInstalledPackageName();
@@ -70,11 +72,12 @@ private:
70 QString description; 72 QString description;
71 QString filename; 73 QString filename;
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
80#endif 83#endif