changed EXIT_CODES type to enum
I think it doesn't matter, but I have no idea :D
This commit is contained in:
parent
c020bfc602
commit
45beb5bb65
@ -2,11 +2,14 @@
|
||||
#define WHY2_FLAGS_H
|
||||
|
||||
//CONSTS
|
||||
#define SUCCESS 0 //EXIT CODE FOR SUCCESSFUL RUN
|
||||
#define INVALID_KEY 1 //EXIT VALUE FOR INVALID KEY
|
||||
#define INVALID_TEXT 4 //EXIT VALUE FOR INVALID TEXT
|
||||
#define DOWNLOAD_FAILED 2 //EXIT VALUE FOR versions.json DOWNLOAD FAILED
|
||||
#define UPDATE_FAILED 3 //EXIT VALUE FOR UPDATE FAILED
|
||||
const enum EXIT_CODES //exit codes you fucking idiot
|
||||
{
|
||||
SUCCESS = 0, //EXIT CODE FOR SUCCESSFUL RUN
|
||||
INVALID_KEY = 1, //EXIT VALUE FOR INVALID KEY
|
||||
INVALID_TEXT = 4, //EXIT VALUE FOR INVALID TEXT
|
||||
DOWNLOAD_FAILED = 2, //EXIT VALUE FOR versions.json DOWNLOAD FAILED
|
||||
UPDATE_FAILED = 3 //EXIT VALUE FOR UPDATE FAILED
|
||||
};
|
||||
|
||||
#define VERSION "v4.3.1" //VERSION OF CURRENT BUILD > DO NOT TOUCH THIS <
|
||||
#define VERSIONS_URL "https://raw.githubusercontent.com/ENGO150/WHY2/release/versions.json" //URL FOR GETTING versions.json
|
||||
|
Loading…
x
Reference in New Issue
Block a user