diff options
Diffstat (limited to 'src/lutris')
-rw-r--r-- | src/lutris/array.h | 5 | ||||
-rw-r--r-- | src/lutris/enum.h | 5 | ||||
-rw-r--r-- | src/lutris/keyword.h | 12 | ||||
-rw-r--r-- | src/lutris/runner.h | 11 | ||||
-rw-r--r-- | src/lutris/task.h | 5 |
5 files changed, 38 insertions, 0 deletions
diff --git a/src/lutris/array.h b/src/lutris/array.h new file mode 100644 index 0000000..ac1da1c --- /dev/null +++ b/src/lutris/array.h @@ -0,0 +1,5 @@ +#ifdef CREATE_ENUM +#undef CREATE_ENUM +#endif + +#define CREATE_ENUM(x) #x,
\ No newline at end of file diff --git a/src/lutris/enum.h b/src/lutris/enum.h new file mode 100644 index 0000000..2b91def --- /dev/null +++ b/src/lutris/enum.h @@ -0,0 +1,5 @@ +#ifdef CREATE_ENUM +#undef CREATE_ENUM +#endif + +#define CREATE_ENUM(x) x,
\ No newline at end of file diff --git a/src/lutris/keyword.h b/src/lutris/keyword.h new file mode 100644 index 0000000..c98f855 --- /dev/null +++ b/src/lutris/keyword.h @@ -0,0 +1,12 @@ +CREATE_ENUM(move) +CREATE_ENUM(merge) +CREATE_ENUM(extract) +CREATE_ENUM(copy) +CREATE_ENUM(chmodx) +CREATE_ENUM(execute) +CREATE_ENUM(write_file) +CREATE_ENUM(write_config) +CREATE_ENUM(write_json) +CREATE_ENUM(input_menu) +CREATE_ENUM(insert_disc) +CREATE_ENUM(task)
\ No newline at end of file diff --git a/src/lutris/runner.h b/src/lutris/runner.h new file mode 100644 index 0000000..b5373c2 --- /dev/null +++ b/src/lutris/runner.h @@ -0,0 +1,11 @@ +CREATE_ENUM(unknown_runner) +CREATE_ENUM(wine) +#ifdef linux +#define _linux linux +#undef linux +#endif +CREATE_ENUM(linux) +#ifdef _linux +#define linux _linux +#undef _linux +#endif
\ No newline at end of file diff --git a/src/lutris/task.h b/src/lutris/task.h new file mode 100644 index 0000000..8a208df --- /dev/null +++ b/src/lutris/task.h @@ -0,0 +1,5 @@ +CREATE_ENUM(wineexec) +CREATE_ENUM(winetricks) +CREATE_ENUM(create_prefix) +CREATE_ENUM(set_regedit) +CREATE_ENUM(winekill)
\ No newline at end of file |