Tidy up some xml structures.

This commit is contained in:
jmsgrogan 2020-05-09 15:29:45 +01:00
parent 875cdc84ff
commit 8771b721d1
31 changed files with 885 additions and 563 deletions

View file

@ -2,18 +2,28 @@
#include <memory>
#include <vector>
#include <string>
#include <filesystem>
class CommandLineArgs
{
std::vector<std::string> mArugments;
std::vector<std::string> mArugments;
std::filesystem::path mLaunchPath;
public:
CommandLineArgs();
CommandLineArgs();
void Process(int argc, char *argv[]);
static std::unique_ptr<CommandLineArgs> CreateUnique();
std::size_t GetNumberOfArgs() const;
void RecordLaunchPath();
std::string GetArg(std::size_t index) const;
std::filesystem::path GetLaunchPath();
void Process(int argc, char *argv[]);
std::size_t GetNumberOfArgs() const;
std::string GetArg(std::size_t index) const;
};
using CommandLineArgsUPtr = std::unique_ptr<CommandLineArgs>;