Initial commit.
This commit is contained in:
commit
59c6161fdb
134 changed files with 4751 additions and 0 deletions
19
src/core/CommandLineArgs.h
Normal file
19
src/core/CommandLineArgs.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
#pragma once
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
class CommandLineArgs
|
||||
{
|
||||
std::vector<std::string> mArugments;
|
||||
|
||||
public:
|
||||
|
||||
CommandLineArgs();
|
||||
|
||||
void Process(int argc, char *argv[]);
|
||||
|
||||
std::size_t GetNumberOfArgs() const;
|
||||
|
||||
std::string GetArg(std::size_t index) const;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue