summaryrefslogtreecommitdiff
path: root/project2/console/claOptions.h
blob: ea3fb01ff26ffa71c4b4cab22a88c5af4728e1b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef CLAOPTIONS_H
#define CLAOPTIONS_H

#include "../common/optionsSource.h"

class CommandLineArguments : public OptionsSource {
	public:
		CommandLineArguments(int c, const char * const * v);
		void loadInto(const ConfigConsumer & consume, const Options::CurrentPlatform & platform) const;
		bool needReload() const;

	private:
		const int argc;
		const char * const * argv;
		mutable time_t loadedAt;
};

#endif