author | drw <drw> | 2004-12-21 00:37:22 (UTC) |
---|---|---|
committer | drw <drw> | 2004-12-21 00:37:22 (UTC) |
commit | 769f2a09ccfcc639a87600ecb046e9140fe2f691 (patch) (side-by-side diff) | |
tree | 27f74b9403d9d41be40e759b7ce238d601b6ef45 /noncore/settings/packagemanager/oconfitem.h | |
parent | 8c316a01b28879b9f4fc6df736773245c8358ffc (diff) | |
download | opie-769f2a09ccfcc639a87600ecb046e9140fe2f691.zip opie-769f2a09ccfcc639a87600ecb046e9140fe2f691.tar.gz opie-769f2a09ccfcc639a87600ecb046e9140fe2f691.tar.bz2 |
Preliminary support for src/gz feeds, it works if you manually update ipkg.conf. Still need to add configuration option on server config dialog tab.
Diffstat (limited to 'noncore/settings/packagemanager/oconfitem.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/packagemanager/oconfitem.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/noncore/settings/packagemanager/oconfitem.h b/noncore/settings/packagemanager/oconfitem.h index 7c158c9..9972c00 100644 --- a/noncore/settings/packagemanager/oconfitem.h +++ b/noncore/settings/packagemanager/oconfitem.h @@ -38,28 +38,32 @@ _;:, .> :=|. This program is free software; you can class OConfItem { public: enum Type { Source, Destination, Option, Arch, NotDefined }; OConfItem( Type type = NotDefined, const QString &name = QString::null, - const QString &value = QString::null, bool active = true ); + const QString &value = QString::null, const QString &features = QString::null, + bool active = true ); Type type() { return m_type; } const QString &name() { return m_name; } const QString &value() { return m_value; } + const QString &features() { return m_features; } bool active() { return m_active; } - void setType( Type type ) { m_type = type; } - void setName( const QString &name ) { m_name = name; } - void setValue( const QString &value ) { m_value = value; } - void setActive( bool active ) { m_active = active; } + void setType( Type type ) { m_type = type; } + void setName( const QString &name ) { m_name = name; } + void setValue( const QString &value ) { m_value = value; } + void setFeatures( const QString &features ) { m_features = features; } + void setActive( bool active ) { m_active = active; } private: Type m_type; // Type of configuration item QString m_name; // Name of item QString m_value; // Value of item + QString m_features; // Comma-deliminated list of features this item supports bool m_active; // Indicates whether item is currently active }; class OConfItemList : public QList<OConfItem> { private: |