summaryrefslogtreecommitdiff
path: root/project2/basics/options/flagSet.h
blob: 0e7830fe735d2b7e5b23b8a902b60233e3d4319a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef OPTIONS_FLAGSET_H
#define OPTIONS_FLAGSET_H

#include <options.h>

class OptionFlagSet : public Options::Target {
	public:
		OptionFlagSet(bool * target);

		void reset() const;
		bool paramRequired() const;
		void consume(const Glib::ustring &, const VariableType &, const Options::CurrentPlatform &) const;

	private:
		bool * const targetFlag;
};

#endif