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

#include <options.h>
#include <visibility.h>

class DLL_PUBLIC 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