aboutsummaryrefslogtreecommitdiff
path: root/src/wine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wine.h')
-rw-r--r--src/wine.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/wine.h b/src/wine.h
index b36d3ee..445212d 100644
--- a/src/wine.h
+++ b/src/wine.h
@@ -2,6 +2,15 @@
#define WINE_H
#define WINEBIN "/bin/wine"
+#define PROTONBIN "/dist/bin/wine"
+
+// enum type used to represent if the installed wine version is proton or normal wine
+// this is mainly used to know wheither to call WINEBIN or PROTONBIN
+enum wine_type_t {
+ WINE_NONE,
+ WINE_NORMAL,
+ WINE_PROTON
+};
int wine(int, char**);
int wine_download(int, char**);
@@ -10,4 +19,6 @@ int wine_run(int, char**);
int wine_installed(int, char**);
int wine_help(int, char**);
+enum wine_type_t check_wine_ver(char*, size_t);
+
#endif \ No newline at end of file