tbx
0.7.5
|
Event for SaveAsSaveCompletedListener. More...
#include <saveas.h>
Public Member Functions | |
SaveAsSaveCompletedEvent (IdBlock &id_block, PollBlock &data) | |
Construct the event from Toolbox and WIMP event data. More... | |
bool | selection_saved () const |
Check if save was of the selection. | |
bool | safe () const |
Check if the save was to a safe location (e.g. More... | |
int | message_id () const |
Wimp message of original datasave message or 0 if save wasn't by a drag. | |
const std::string | file_name () const |
Full file name of file location if save was safe. | |
![]() | |
EventInfo (const IdBlock &id_block, PollBlock &data) | |
Contruct the event information from the id_block and data update by the toolbox. | |
const IdBlock & | id_block () const |
IdBlock for the current event. More... | |
Additional Inherited Members | |
![]() | |
PollBlock & | _data |
raw data from the event | |
Event for SaveAsSaveCompletedListener.
|
inline |
Construct the event from Toolbox and WIMP event data.
id_block | Toolbox IDs for this event |
data | Information returned from the WIMP for this event |
|
inline |
Check if the save was to a safe location (e.g.
a filing system)