7#include "MRPch/MRWinapi.h"
56 std::filesystem::path filename;
58 HMODULE module =
nullptr;
60 void * module =
nullptr;
63 mutable std::vector<LoadedModule> loadedModules_;
Definition MRSetupViewer.h:13
std::function< void()> setupCustomLogSink
Definition MRSetupViewer.h:47
virtual void setupCommonPlugins(Viewer *) const
Setups custom plugins to viewer.
Definition MRSetupViewer.h:29
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
ViewerSetup(ViewerSetup &&)=default
virtual void setupCommonModifiers(Viewer *) const
Setups modifiers to Menu plugin if it is present in viewer.
Definition MRSetupViewer.h:26
virtual MRVIEWER_API void setupBasePlugins(Viewer *) const
Setups Menu Save and Open plugins.
std::function< void()> shutdownCustomLogSink
Definition MRSetupViewer.h:50
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()
Definition MRCameraOrientationPlugin.h:8