Mercurial > hg > orthanc-stone
view Applications/Wasm/BasicWasmApplicationContext.cpp @ 223:d30a10d574ec am
refactoring continued - not working
author | am@osimis.io |
---|---|
date | Thu, 14 Jun 2018 10:57:02 +0200 |
parents | 84844649a8fd |
children | 5027cb2feb51 |
line wrap: on
line source
#include "BasicWasmApplicationContext.h" namespace OrthancStone { IWidget& BasicWasmApplicationContext::SetCentralWidget(IWidget* widget) // Takes ownership { printf("BasicWasmApplicationContext::SetCentralWidget %x %x\n", centralViewport_.get(), widget); assert(centralViewport_.get() != NULL); centralViewport_->SetCentralWidget(widget); printf("BasicWasmApplicationContext::SetCentralWidget done\n"); return *widget; } }