diff options
Diffstat (limited to 'src/wine.h')
-rw-r--r-- | src/wine.h | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -4,6 +4,8 @@ #define WINEBIN "/bin/wine" #define PROTONBIN "/dist/bin/wine" +#include "command.h" + // 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 { @@ -12,13 +14,13 @@ enum wine_type_t { WINE_PROTON }; -int wine(int, char**); -int wine_download(int, char**); -int wine_list(int, char**); -int wine_run(int, char**); -int wine_installed(int, char**); -int wine_env(int, char**); -int wine_help(int, char**); +COMMAND_GROUP(wine); +COMMAND(wine, download); +COMMAND(wine, list); +COMMAND(wine, run); +COMMAND(wine, installed); +COMMAND(wine, env); +COMMAND(wine, help); enum wine_type_t check_wine_ver(char*, size_t); |