Start working on build system.
This commit is contained in:
parent
4b308f6c32
commit
521486be62
88 changed files with 1065 additions and 349 deletions
31
src/base/core/system/process/CommandLineArgs.h
Normal file
31
src/base/core/system/process/CommandLineArgs.h
Normal file
|
@ -0,0 +1,31 @@
|
|||
#pragma once
|
||||
|
||||
#include "Pointer.h"
|
||||
#include "Vector.h"
|
||||
#include "String.h"
|
||||
#include "FileSystemPath.h"
|
||||
|
||||
class CommandLineArgs
|
||||
{
|
||||
public:
|
||||
CommandLineArgs();
|
||||
|
||||
static Ptr<CommandLineArgs> Create();
|
||||
|
||||
FileSystemPath getLaunchPath();
|
||||
|
||||
const Vector<String> getArgs() const;
|
||||
|
||||
Vector<String> getUserArgs() const;
|
||||
|
||||
static void initialize(CommandLineArgs* args);
|
||||
|
||||
void process(int argc, char *argv[]);
|
||||
|
||||
void process(const Vector<String>& args);
|
||||
|
||||
void recordLaunchPath();
|
||||
private:
|
||||
Vector<String> mArugments;
|
||||
FileSystemPath mLaunchPath;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue