-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
27 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,25 @@ | ||
#include "WindType.h" | ||
|
||
|
||
/*Strings for type message formatting*/ | ||
static const char* WindType_STR_NONE = "None"; | ||
static const char* WindType_STR_BOOL = "Bool"; | ||
static const char* WindType_STR_NUMBER = "Number"; | ||
static const char* WindType_STR_ASSIGN = "Assign"; | ||
static const char* WindType_STR_NOT = "Not"; | ||
static const char* WindType_STR_PLUS = "Plus"; | ||
static const char* WindType_STR_SEP = "Separator"; | ||
|
||
const char* WindType_get_str(WindType type) | ||
{ | ||
switch(type) | ||
{ | ||
case WindType_None: return WindType_STR_NONE; | ||
case WindType_Bool: return WindType_STR_BOOL; | ||
case WindType_Not: return WindType_STR_NOT; | ||
case WindType_Number: return WindType_STR_NUMBER; | ||
case WindType_Assign: return WindType_STR_ASSIGN; | ||
case WindType_Plus: return WindType_STR_PLUS; | ||
case WindType_Sep: return WindType_STR_SEP; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters