|
| RpcHub (Window &window) |
|
| ~RpcHub ()=default |
|
| RpcHub (const RpcHub &)=delete |
|
RpcHub & | operator= (const RpcHub &)=delete |
|
| RpcHub (RpcHub &&)=delete |
|
RpcHub & | operator= (RpcHub &&)=delete |
|
template<typename T > |
AutoUnregister | autoRegisterFunction (std::string const &name, T &&func) const |
|
template<typename T > |
void | registerFunction (std::string const &name, T &&func) const |
|
void | unregisterFunction (std::string const &name) const |
|
Window & | window () const |
| Returns the attached window.
|
|
template<typename... Args> |
void | callRemote (std::string const &name, Args &&... args) const |
| For technical reasons these cannot return a value currently.
|
|
template<typename Arg > |
void | callRemote (std::string const &name, Arg &&arg) const |
|
void | callRemote (std::string const &name, nlohmann::json const &json) const |
|
void | callRemote (std::string const &name, nlohmann::json &&json) const |
|
void | callRemote (std::string const &name) const |
|
template<typename... Args> |
void | call (std::string const &name, Args &&... args) const |
|
void | enableFileDialogs () const |
| Enables file dialog functionality.
|
|
void | enableFile () |
| Enables file class in the frontend.
|
|
void | enableWindowFunctions () const |
| Enables opening of the devTools, terminating the window from the view...
|
|
void | enableFetch () const |
| Enables fetch functionality.
|
|
void | enableThrottle () |
| Enables the throttle functionality.
|
|
void | enableTimer () |
| Enables the setInterval and setTimeout functionality.
|
|
void | enableScreen () |
| Enables the screen functionality.
|
|
void | enableEnvironmentVariables () |
| Enables the environment variable functionality.
|
|
void | enableAll () |
| Enables all functionality.
|
|
template<typename ManagerT > |
void * | accessStateStore (std::string const &id) |
|