#include "MRViewerFwd.h"
#include "MRMesh/MRMeshFwd.h"
#include "MRPch/MRJson.h"
#include "MRMesh/MRphmap.h"
#include <filesystem>
#include <vector>
#include <string>
#include <memory>
Go to the source code of this file.
|
#define | MR_REGISTER_RIBBON_ITEM(pluginType) static MR::RibbonMenuItemAdder<pluginType> ribbonMenuItemAdder##pluginType##_; |
| registers plugin on module loading, and unregister plugin on module unloading
|
|
#define | MR_RIBBON_ITEM_CALL(pluginType, f, g) static MR::RibbonMenuItemCall<pluginType> ribbonMenuItemCall##func##pluginType##_( f, g ); |
| calls f(const std::shared_ptr<plugin> &) on module loading, and calls g(const std::shared_ptr<plugin> &) on module unloading
|
|
◆ MR_REGISTER_RIBBON_ITEM
#define MR_REGISTER_RIBBON_ITEM |
( |
| pluginType | ) |
static MR::RibbonMenuItemAdder<pluginType> ribbonMenuItemAdder##pluginType##_; |
registers plugin on module loading, and unregister plugin on module unloading
◆ MR_RIBBON_ITEM_CALL
#define MR_RIBBON_ITEM_CALL |
( |
| pluginType, |
|
|
| f, |
|
|
| g ) static MR::RibbonMenuItemCall<pluginType> ribbonMenuItemCall##func##pluginType##_( f, g ); |
calls f(const std::shared_ptr<plugin> &) on module loading, and calls g(const std::shared_ptr<plugin> &) on module unloading