aboutsummaryrefslogtreecommitdiff
path: root/src/wine.h
blob: 9b382df219b6cc2b4d9cecd70c94803d4e496c38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef WINE_H
#define WINE_H

#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 {
	WINE_NONE,
    WINE_NORMAL,
    WINE_PROTON
};

COMMAND_GROUP(winecmd);
COMMAND(winecmd, download);
COMMAND(winecmd, remove);
COMMAND(winecmd, list);
COMMAND(winecmd, run);
COMMAND(winecmd, installed);
COMMAND(winecmd, env);
COMMAND(winecmd, help);

enum wine_type_t check_wine_ver(char*, size_t);

#endif