view Platforms/Wasm/WasmViewport.h @ 241:a4197519eb55 am

share tsconfig files between samples
author am@osimis.io
date Wed, 20 Jun 2018 09:50:25 +0200
parents f73d722d98c8
children 092db46c6291
line wrap: on
line source

#pragma once

#include <Framework/Viewport/WidgetViewport.h>

#include <emscripten/emscripten.h>

#ifdef __cplusplus
extern "C" {
#endif

  // JS methods accessible from C++
  extern OrthancStone::WidgetViewport* CreateWasmViewportFromCpp(const char* htmlCanvasId);

#ifdef __cplusplus
}
#endif