tbx
0.7.6
|
Base Listener for auto create events. More...
#include <autocreatelistener.h>
Public Member Functions | |
virtual void | auto_created (std::string template_name, Object object)=0 |
This is called when an object has been automatically created by the toolbox if the listener has been registered with the application method set_autocreate_listener. More... | |
![]() | |
virtual | ~Listener () |
Destroy the listener object. | |
Additional Inherited Members | |
![]() | |
Listener () | |
Construct the Listener object. | |
Base Listener for auto create events.
Derive from this class to create an auto create listener and override the auto_created method.
|
pure virtual |
This is called when an object has been automatically created by the toolbox if the listener has been registered with the application method set_autocreate_listener.
template_name | The name of the template used to create the object. |
object | The object that has been created. |
Implemented in tbx::doc::DocSaveAs, tbx::doc::DocIconbar, tbx::doc::DocFileInfo, tbx::MatchLifetime< T >, tbx::AutoCreateClassOnce< T >, and tbx::AutoCreateClass< T >.