3#include "MRCommonPlugins/exports.h"
8#include "MRPch/MRWasm.h"
13class WasmUnavailableObjectVoxels
16 constexpr static const char* TypeName() noexcept {
return "ObjectVoxels"; }
19class MRCOMMONPLUGINS_CLASS WasmUnavailableItem :
public RibbonMenuItem
22 WasmUnavailableItem(
const std::string& name ) :
23 RibbonMenuItem(
name ) {}
25 virtual bool action()
override
27 showDownloadWindow_();
31 EMSCRIPTEN_KEEPALIVE
void showDownloadWindow_()
33 #pragma clang diagnostic push
34#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
35 EM_ASM( showDownloadWindow() );
36#pragma clang diagnostic pop
42#define MR_REGISTER_WASM_UNAVAILABLE_ITEM( pluginType, name )\
43 static MR::RibbonMenuItemAdder<MR::WasmUnavailableItem> ribbonMenuItemAdder##pluginType##_(name);
std::string name(const T &primitive)
Definition MRFeatures.h:297
Definition MRCameraOrientationPlugin.h:8