Describes a wine prefix configuration.
More...
#include <q4wine/src/lib/wineprefix.hpp>
- Wine Terms
In terms of Wine WINEPREFIX is a directory which holds a virtual windows drive with separate wine settings (drives, virtual desktop, special dlls and so on).
- Q4Wine Terms
In terms of Q4Wine WinePrefix is a set of options which describe basic WINEPREFIX configuration.
- Note
- It is possible to have multiple WinePrefix pointed to the single directory. In combination with WineVersion: setups is possible to run a number of truly independent wine processes.
- Author
- Alexey S. Malakhov breze.nosp@m.rk@g.nosp@m.mail..nosp@m.com
q4wine::lib::WinePrefix::WinePrefix |
( |
| ) |
|
Constructs an empty WinePreifx object.
q4wine::lib::WinePrefix::WinePrefix |
( |
std::string |
name, |
|
|
std::string |
path, |
|
|
std::string |
arch, |
|
|
WineVersion * |
version, |
|
|
std::string |
mountPoint = std::string() , |
|
|
std::string |
virtualDrive = std::string() , |
|
|
std::string |
execTemplate = DEFAULT_EXEC_TEMPLATE , |
|
|
uintptr_t |
id = 0 |
|
) |
| |
Constructs an WinePreifx object.
- Parameters
-
q4wine::lib::WinePrefix::~WinePrefix |
( |
| ) |
|
const std::string q4wine::lib::WinePrefix::getArch |
( |
void |
| ) |
const |
std::string q4wine::lib::WinePrefix::getEnvVariables |
( |
const WineApplication * |
wineApp | ) |
|
Constructs wine env variables (WINEPREFIX, WINESERVER, WINELOADER, WINEDLLPATH, WINEARCH) using WinePrefix and WineVersion data.
Example: WINEPREFIX='/mnt/ssd/wine/' WINESERVER='/usr/bin/wineserver' WINELOADER='/usr/bin/wine' WINEDLLPATH='/usr/lib64/wine/' WINEARCH='win64'
- Returns
- Formatted env variables
std::string q4wine::lib::WinePrefix::getExecutionString |
( |
const WineApplication * |
wineApp | ) |
|
Constructs execution string from temaplteString using WineAppliction data.
- Parameters
-
- Returns
- Execution string.
const std::string q4wine::lib::WinePrefix::getExecutionTemplate |
( |
void |
| ) |
const |
WinePrefix * q4wine::lib::WinePrefix::getInstance |
( |
intptr_t |
id | ) |
|
|
static |
- Parameters
-
- Returns
- WinePrefix object or NULL if not found.
const std::string q4wine::lib::WinePrefix::getMountPoint |
( |
void |
| ) |
const |
const std::string q4wine::lib::WinePrefix::getName |
( |
void |
| ) |
const |
const std::string q4wine::lib::WinePrefix::getPath |
( |
void |
| ) |
const |
WineVersion * q4wine::lib::WinePrefix::getVersion |
( |
void |
| ) |
const |
const std::string q4wine::lib::WinePrefix::getVirtualDrive |
( |
void |
| ) |
const |
bool q4wine::lib::WinePrefix::save |
( |
void |
| ) |
|
|
virtual |
void q4wine::lib::WinePrefix::setArch |
( |
std::string |
arch | ) |
|
void q4wine::lib::WinePrefix::setExecutionTemplate |
( |
std::string |
execTemplate | ) |
|
void q4wine::lib::WinePrefix::setMountPoint |
( |
std::string |
mountPoint | ) |
|
void q4wine::lib::WinePrefix::setName |
( |
std::string |
name | ) |
|
void q4wine::lib::WinePrefix::setPath |
( |
std::string |
path | ) |
|
void q4wine::lib::WinePrefix::setVersion |
( |
WineVersion * |
version | ) |
|
void q4wine::lib::WinePrefix::setVirtualDrive |
( |
std::string |
virtualDevice | ) |
|
The documentation for this class was generated from the following files: