API Documentation
|
Information and logic for launching an application seperate from the current software. More...
#include <LocalApplicationLauncher.h>
Public Member Functions | |
bool | applicationFileExists () const |
void | bringToFront () |
virtual void | execute () |
Buffer< uint08 > | findWindowIDs () |
bool | isRunning () |
void | killProcess () |
LocalApplicationLauncher (const File &path) | |
virtual | ~LocalApplicationLauncher () |
Static Public Member Functions | |
static void | CallApplication (const String &application, const String &args=String(), bool wait_for_completion=true, bool windowless=false, ProgressInfo *log=nullptr) |
Public Attributes | |
File | application |
String | args |
String | environment |
ProgressInfo * | log = nullptr |
bool | make_child_process = false |
std::function< void()> | on_complete_function |
bool | wait_for_completion = true |
bool | windowless = false |
Protected Attributes | |
bool | m_is_running = false |
void * | m_process_handle = nullptr |
uint08 | m_process_id = Constant<uint08>::Invalid |
Information and logic for launching an application seperate from the current software.
LocalApplicationLauncher | ( | const File & | path | ) |
|
virtual |
bool applicationFileExists | ( | ) | const |
void bringToFront | ( | ) |
|
static |
|
virtual |
bool isRunning | ( | ) |
void killProcess | ( | ) |
File application |
String args |
String environment |
ProgressInfo* log = nullptr |
|
protected |
|
protected |
bool make_child_process = false |
std::function<void()> on_complete_function |
bool wait_for_completion = true |
bool windowless = false |