summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/package.h
authortille <tille>2002-05-04 14:09:41 (UTC)
committer tille <tille>2002-05-04 14:09:41 (UTC)
commit27f8629d4e6e16e9a33410ffe650f4a6d0bb17be (patch) (side-by-side diff)
tree924a9449cff5d062d421f580644ea98ab8f42429 /noncore/unsupported/oipkg/package.h
parent4eddfebd1b4f70bbfe9106a16e9a3eeb6601f653 (diff)
downloadopie-27f8629d4e6e16e9a33410ffe650f4a6d0bb17be.zip
opie-27f8629d4e6e16e9a33410ffe650f4a6d0bb17be.tar.gz
opie-27f8629d4e6e16e9a33410ffe650f4a6d0bb17be.tar.bz2
version handling
Diffstat (limited to 'noncore/unsupported/oipkg/package.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/package.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/noncore/unsupported/oipkg/package.h b/noncore/unsupported/oipkg/package.h
index 257d9c7..68090dc 100644
--- a/noncore/unsupported/oipkg/package.h
+++ b/noncore/unsupported/oipkg/package.h
@@ -23,9 +23,10 @@ class Package //: public QObject
void setValue( QString, QString );
void copyValues( Package* );
- QString name() ;
- QString installName() ;
+ QString name();
+ QString installName();
bool installed();
+ bool otherInstalled();
void setDesc( QString );
QString shortDesc();
@@ -46,11 +47,17 @@ class Package //: public QObject
void setOn();
bool link();
void setLink(bool);
+ bool isOld();
+ bool hasVersions();
void parseIpkgFile( QString );
void instalFromFile(bool iff=true);
void setName(QString);
QDict<QString>* getFields();
QString status();
+
+ QDict<Package>* getOtherVersions();
+ void setOtherVersions(QDict<Package>*);
+
public slots:
void toggleProcess();
@@ -59,6 +66,8 @@ private:
QString _displayName;
QString _name;
QString _fileName;
+ bool _old;
+ bool _hasVersions;
bool _toProcess;
bool _link;
QString _status;
@@ -70,6 +79,7 @@ private:
QString _version;
QString _dest;
QDict<QString> _values;
+ QDict<Package> *_versions;
bool _useFileName;
void parsePackage( QStringList );
void init(PackageManagerSettings *);