Fix up build and start site generator.
This commit is contained in:
parent
d471609712
commit
bd60a28eef
15 changed files with 267 additions and 96 deletions
|
@ -6,26 +6,27 @@
|
|||
|
||||
class CommandLineArgs
|
||||
{
|
||||
std::vector<std::string> mArugments;
|
||||
std::filesystem::path mLaunchPath;
|
||||
|
||||
public:
|
||||
|
||||
CommandLineArgs();
|
||||
|
||||
static std::unique_ptr<CommandLineArgs> CreateUnique();
|
||||
static std::unique_ptr<CommandLineArgs> Create();
|
||||
|
||||
void RecordLaunchPath();
|
||||
std::filesystem::path getLaunchPath();
|
||||
|
||||
std::filesystem::path GetLaunchPath();
|
||||
std::size_t getNumberOfArgs() const;
|
||||
|
||||
void Process(int argc, char *argv[]);
|
||||
std::string getArg(std::size_t index) const;
|
||||
|
||||
void Process(const std::vector<std::string>& args);
|
||||
void process(int argc, char *argv[]);
|
||||
|
||||
std::size_t GetNumberOfArgs() const;
|
||||
void process(const std::vector<std::string>& args);
|
||||
|
||||
std::string GetArg(std::size_t index) const;
|
||||
void recordLaunchPath();
|
||||
|
||||
private:
|
||||
std::vector<std::string> mArugments;
|
||||
std::filesystem::path mLaunchPath;
|
||||
};
|
||||
|
||||
using CommandLineArgsUPtr = std::unique_ptr<CommandLineArgs>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue