tbx  0.7.5
Public Member Functions | List of all members
tbx::SaveAsSaveCompletedEvent Class Reference

Event for SaveAsSaveCompletedListener. More...

#include <saveas.h>

Inheritance diagram for tbx::SaveAsSaveCompletedEvent:
tbx::EventInfo

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.
 
- Public Member Functions inherited from tbx::EventInfo
 EventInfo (const IdBlock &id_block, PollBlock &data)
 Contruct the event information from the id_block and data update by the toolbox.
 
const IdBlockid_block () const
 IdBlock for the current event. More...
 

Additional Inherited Members

- Protected Attributes inherited from tbx::EventInfo
PollBlock_data
 raw data from the event
 

Detailed Description

Event for SaveAsSaveCompletedListener.

Constructor & Destructor Documentation

◆ SaveAsSaveCompletedEvent()

tbx::SaveAsSaveCompletedEvent::SaveAsSaveCompletedEvent ( IdBlock id_block,
PollBlock data 
)
inline

Construct the event from Toolbox and WIMP event data.

Parameters
id_blockToolbox IDs for this event
dataInformation returned from the WIMP for this event

Member Function Documentation

◆ safe()

bool tbx::SaveAsSaveCompletedEvent::safe ( ) const
inline

Check if the save was to a safe location (e.g.

a filing system)


The documentation for this class was generated from the following file: