MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::SaveOnClosePlugin Class Reference

this plugin will show a message to the user if she closes the application when something is modified More...

#include <MRViewer/MRSaveOnClose.h>

Inheritance diagram for MR::SaveOnClosePlugin:

Public Member Functions

virtual void init (Viewer *_viewer) override
 This function is called when the viewer is initialized (no mesh will be loaded at this stage)
virtual 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
Viewerviewer = &getViewerInstance()
 Pointer to the main Viewer class.

Detailed Description

this plugin will show a message to the user if she closes the application when something is modified


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