mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 00:36:30 +02:00
17 lines
404 B
C++
17 lines
404 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
class CommandlineOptions {
|
|
public:
|
|
CommandlineOptions() = default;
|
|
~CommandlineOptions() = default;
|
|
|
|
void parse(const int argc, char** argv);
|
|
bool contains(const std::string& option);
|
|
void append(const std::string& command);
|
|
static CommandlineOptions* getInstance();
|
|
private:
|
|
std::vector<std::string> _commandlineOptions;
|
|
};
|