3#include "MRViewerFwd.h"
7#include "MRPch/MRWinapi.h"
61 HMODULE module =
nullptr;
63 void * module =
nullptr;
66 mutable std::vector<LoadedModule> loadedModules_;
Definition MRSetupViewer.h:16
GLFW-based mesh viewer.
Definition MRViewer.h:69
std::function< void()> setupCustomLogSink
functor to setup custom log sink, i.e. sending logs to web
Definition MRSetupViewer.h:50
virtual void setupCommonPlugins(Viewer *) const
Setups custom plugins to viewer.
Definition MRSetupViewer.h:32
virtual MRVIEWER_API void setupSettingsManager(Viewer *viewer, const std::string &appName, bool reset=false) const
virtual MRVIEWER_API void setupExtendedLibraries() const
ViewerSetup(const ViewerSetup &)=default
std::filesystem::path filename
Definition MRSetupViewer.h:59
ViewerSetup(ViewerSetup &&)=default
virtual void setupCommonModifiers(Viewer *) const
Setups modifiers to Menu plugin if it is present in viewer.
Definition MRSetupViewer.h:29
virtual MRVIEWER_API void setupBasePlugins(Viewer *) const
Setups Menu Save and Open plugins.
std::function< void()> shutdownCustomLogSink
functor to shutdown custom log sink, i.e. send all remaining logs to web before exit
Definition MRSetupViewer.h:53
virtual MRVIEWER_API void setupConfiguration(Viewer *viewer) const
virtual ~ViewerSetup()=default
ViewerSetup()=default
explicitly define ctors to avoid warning C5267: definition of implicit copy constructor is deprecated...
virtual MRVIEWER_API void unloadExtendedLibraries() const
free all libraries loaded in setupExtendedLibraries()
only for bindings generation
Definition MRCameraOrientationPlugin.h:8