diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-10-27 08:08:29 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-10-28 07:45:44 +0100 |
commit | 8601e6f1ee395a89867f404b36bc93077baff8ff (patch) | |
tree | ade871d7f88c1766388ce51621e8c3a74e296db0 /proto-wine | |
parent | 9aef0bbdd753939623562f6112adf4e19576c015 (diff) |
proto/wine: move function prototypes
Diffstat (limited to 'proto-wine')
-rw-r--r-- | proto-wine/ftnoir_protocol_wine.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/proto-wine/ftnoir_protocol_wine.cpp b/proto-wine/ftnoir_protocol_wine.cpp index ce6f6229..a2a49940 100644 --- a/proto-wine/ftnoir_protocol_wine.cpp +++ b/proto-wine/ftnoir_protocol_wine.cpp @@ -51,9 +51,6 @@ void wine::pose(const double *headpose, const double*) } } -QProcessEnvironment make_steam_environ(const QString& proton_version); -QString proton_path(const QString& proton_version); - module_status wine::initialize() { #ifndef OTR_WINE_NO_WRAPPER @@ -63,8 +60,11 @@ module_status wine::initialize() auto env = QProcessEnvironment::systemEnvironment(); if (s.variant_proton) { - env = make_steam_environ(s.proton_version); - wine_path = proton_path(s.proton_version); + QProcessEnvironment make_steam_environ(const QString& proton_version); + QString proton_path(const QString& proton_version); + + env = make_steam_environ(s.proton_version); + wine_path = proton_path(s.proton_version); } wrapper.setWorkingDirectory(OPENTRACK_BASE_PATH); |