Mercurial > hg > orthanc-stone
view Deprecated/Platforms/Wasm/WasmViewport.h @ 1442:11f291ac3ef5 legacy-loader-refactoring
This branch is useless.
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 26 May 2020 10:11:49 +0200 |
parents | 419d0320c344 |
children | 828a9b4ee1b7 |
line wrap: on
line source
#pragma once #include "../../Framework/Deprecated/Viewport/WidgetViewport.h" #include <emscripten/emscripten.h> #ifdef __cplusplus extern "C" { #endif // JS methods accessible from C++ extern Deprecated::WidgetViewport* CreateWasmViewportFromCpp(const char* htmlCanvasId); #ifdef __cplusplus } #endif extern void AttachWidgetToWasmViewport(const char* htmlCanvasId, Deprecated::IWidget* centralWidget);