summaryrefslogtreecommitdiff
path: root/Runtime/Utilities/Argv.h
blob: 835b4bcb662f534156698863e6adb119d35702bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef ARGV_H
#define ARGV_H

void SetupArgv (int argc, const char** argv);

const char **GetArgv();
int GetArgc();

/// Returns true if the commandline contains a -name.
bool HasARGV (const std::string& name);

bool IsBatchmode ();
bool IsHumanControllingUs ();

void SetIsBatchmode (bool value);

/// Returns a list of values for the argument
std::vector<std::string> GetValuesForARGV (const std::string& name);

std::vector<std::string> GetAllArguments();
std::string GetFirstValueForARGV (const std::string& name);

void SetRelaunchApplicationArguments (const std::vector<std::string>& args);
std::vector<std::string> GetRelaunchApplicationArguments ();

void PrintARGV ();

void CheckBatchModeErrorString (const std::string& error);

#endif