LibreOffice Module vcl (master) 1
|
Runs a command in the main thread. More...
#include <runinmain.hxx>
Public Member Functions | |
RuninmainResult () | |
Public Attributes | |
void * | pointer |
bool | boolean |
struct SalFrame::SalPointerState | state |
Runs a command in the main thread.
These macros are always used like a recursive calls, so they work like a closure.
Uses two conditionals for a two way communication. The data (code block + result) is protected by the SolarMutex.
There are three main macros, which act as function initializers:
All types used via OSX_RUNINMAIN_UNION must implement a move constructor, so there is no memory leak!
Definition at line 51 of file runinmain.hxx.
|
inline |
Definition at line 57 of file runinmain.hxx.
bool RuninmainResult::boolean |
Definition at line 54 of file runinmain.hxx.
void* RuninmainResult::pointer |
Definition at line 53 of file runinmain.hxx.
struct SalFrame::SalPointerState RuninmainResult::state |
Definition at line 55 of file runinmain.hxx.