comparison Platforms/WebAssembly/WasmViewport.h @ 231:5027cb2feb51 am

viewport is now part of the Application itself and not global anymore
author am@osimis.io
date Thu, 14 Jun 2018 18:49:19 +0200
parents
children
comparison
equal deleted inserted replaced
230:7d2631320615 231:5027cb2feb51
1 #pragma once
2
3 #include <Framework/Viewport/WidgetViewport.h>
4
5 #include <emscripten/emscripten.h>
6
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10
11 // JS methods accessible from C++
12 extern OrthancStone::WidgetViewport* CreateWasmViewportFromCpp(const char* htmlCanvasId);
13
14 #ifdef __cplusplus
15 }
16 #endif