You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
351 B
23 lines
351 B
1 year ago
|
#ifndef WEBFUSE_COMMANDLINE_READER_HPP
|
||
|
#define WEBFUSE_COMMANDLINE_READER_HPP
|
||
|
|
||
|
namespace webfuse
|
||
|
{
|
||
|
|
||
|
class commandline_reader
|
||
|
{
|
||
|
public:
|
||
|
commandline_reader(int argc, char * argv[]);
|
||
|
~commandline_reader() = default;
|
||
|
bool next();
|
||
|
char const * current() const;
|
||
|
private:
|
||
|
int current_;
|
||
|
int argc_;
|
||
|
char ** argv_;
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif
|