Mercurial > hg > orthanc-stone
view Applications/Wasm/BasicWasmApplicationContext.cpp @ 222:84844649a8fd am
continued: reusable applications
author | am@osimis.io |
---|---|
date | Tue, 12 Jun 2018 17:21:15 +0200 |
parents | |
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; } }