this plugin will show a message to the user if she closes the application when something is modified More...
#include <MRSaveOnClose.h>
Inheritance diagram for MR::SaveOnClosePlugin:Public Member Functions | |
| virtual MRVIEWER_API void | init (Viewer *_viewer) override |
| This function is called when the viewer is initialized (no mesh will be loaded at this stage) | |
| virtual MRVIEWER_API void | shutdown () override |
| This function is called before shutdown. | |
Public Member Functions inherited from MR::ViewerPlugin | |
| virtual | ~ViewerPlugin () |
Public Member Functions inherited from MR::MultiListener< PreDrawListener, InterruptCloseListener > | |
| virtual | ~MultiListener ()=default |
| virtual void | connect (Viewer *viewer, int group=0, boost::signals2::connect_position pos=boost::signals2::connect_position::at_back) |
| virtual void | disconnect () |
Additional Inherited Members | |
Protected Attributes inherited from MR::ViewerPlugin | |
| Viewer * | viewer = &getViewerInstance() |
| Pointer to the main Viewer class. | |
this plugin will show a message to the user if she closes the application when something is modified