Namespace containing functions from the Keystone library.
More...
Namespace containing functions from the Keystone library.
◆ GetKeystoneModuleHandle()
HMODULE Blam::Modules::Keystone::GetKeystoneModuleHandle |
( |
| ) |
|
Retrieves the module handle for the Keystone library.
- Returns
- The module handle for the Keystone library, or
nullptr
if the module is not yet loaded.
◆ OpenLocalURL()
bool Blam::Modules::Keystone::OpenLocalURL |
( |
std::string |
url | ) |
|
Opens a local file with the user's default application.
- Parameters
-
url | - The file path to open. |
- Deprecated:
- Move this functionality into Strings, then remove.
◆ OpenWebURL()
bool Blam::Modules::Keystone::OpenWebURL |
( |
std::string |
url | ) |
|
Opens a URL in the user's default web browser.
- Parameters
-
- Deprecated:
- Move this functionality into Strings, then remove.
◆ SetupModule()
BlamResult Blam::Modules::Keystone::SetupModule |
( |
| ) |
|
Sets up the module and loads all necessary functions for calling.
- Returns
BlamResult::Success_OK
if the module initialized successfully, otherwise returns an error code.
◆ ShowErrorDialog()
int Blam::Modules::Keystone::ShowErrorDialog |
( |
bool |
allow_safemode, |
|
|
bool |
allow_continue, |
|
|
const char * |
text |
|
) |
| |
Shows a Qt-driven error dialog.
It is a reimplementation of the original Win32 error dialog.
- Parameters
-
allow_safemode | - Whether or not to enable the 'Continue in Safe Mode' option. |
allow_continue | - Wehther or not to enable the 'Continue' option. |
text | - The message to display to the user. |
- Returns
- The return code of the error dialog.
◆ ShutdownModule()
void Blam::Modules::Keystone::ShutdownModule |
( |
| ) |
|
Shuts down the module and releases any data used by it.