diff -r 000000000000 -r 47cd4ae30000 options.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/options.h Tue Aug 16 17:27:34 2005 +0000 @@ -0,0 +1,55 @@ +#ifndef OPTIONS_H +#define OPTIONS_H + +#include +#include + +enum OptionType {SwitchOption,StringOption}; + +class Option +{ +public: + Option(); + void set (const QString &, const OptionType &, const QString &, const QString &); + QString getName(); + QString getShort(); + QString getLong(); + OptionType getType(); + void setArg(const QString &); + QString getArg(); + void setActive(); + bool isActive(); +private: + QString name; + OptionType type; + QString sName; + QString lName; + QString sarg; + bool active; +}; + + + +typedef QValueList