diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2021-07-22 22:36:29 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2021-07-22 22:36:29 +0200 |
commit | fa579dfd846d50bcd2edd28277036b2fb298c643 (patch) | |
tree | 067e2103aa7ec53543849e3a2c78b19200d74e0d /src/lutris | |
parent | fe2b369bcbf94eccf7c0a1af9ec8e50d93838e50 (diff) | |
download | polecat-fa579dfd846d50bcd2edd28277036b2fb298c643.tar.gz polecat-fa579dfd846d50bcd2edd28277036b2fb298c643.zip |
fix broken debug define checks, move lutris enums to special headers
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 |