#include <ICloseable.h>
Definition at line 9 of file ICloseable.h.
◆ ICloseable()
gui_framework::interfaces::ICloseable::ICloseable |
( |
HWND | closeableHandle | ) |
|
◆ ~ICloseable()
virtual gui_framework::interfaces::ICloseable::~ICloseable |
( |
| ) |
|
|
virtualdefault |
◆ close()
bool gui_framework::interfaces::ICloseable::close |
( |
int | exitCode | ) |
|
◆ getOnClose()
const function< bool()> & gui_framework::interfaces::ICloseable::getOnClose |
( |
| ) |
const |
|
finalvirtual |
◆ setOnClose() [1/2]
virtual void gui_framework::interfaces::ICloseable::setOnClose |
( |
const std::function< bool()> & | onClose | ) |
|
|
finalvirtual |
◆ setOnClose() [2/2]
virtual void gui_framework::interfaces::ICloseable::setOnClose |
( |
const std::string & | onCloseFunctionName, |
|
|
const std::string & | onCloseFunctionModuleName ) |
|
finalvirtual |
Load function from module. Can be seriazlied.
- Parameters
-
onCloseFunctionName | |
onCloseFunctionModuleName | |
- Exceptions
-
CantFindFunctionFromModuleException | |
std::out_of_range | Can't find moduleName in loaded modules |
◆ closeableHandle
HWND gui_framework::interfaces::ICloseable::closeableHandle |
|
protected |
◆ onClose
std::function<bool()> gui_framework::interfaces::ICloseable::onClose |
|
protected |
◆ onCloseFunctionModuleName
std::string gui_framework::interfaces::ICloseable::onCloseFunctionModuleName |
|
protected |
◆ onCloseFunctionName
std::string gui_framework::interfaces::ICloseable::onCloseFunctionName |
|
protected |
The documentation for this class was generated from the following files: