Mercurial > hg > orthanc-stone
diff Applications/IStoneApplication.h @ 307:be2660b6e40a am-callable-and-promise
wip: commands + status update
author | am@osimis.io |
---|---|
date | Tue, 25 Sep 2018 15:14:53 +0200 |
parents | 8c8da145fefa |
children | daa04d15192c |
line wrap: on
line diff
--- a/Applications/IStoneApplication.h Tue Sep 18 18:20:10 2018 +0200 +++ b/Applications/IStoneApplication.h Tue Sep 25 15:14:53 2018 +0200 @@ -25,6 +25,8 @@ #include <boost/program_options.hpp> #include "../Framework/Viewport/WidgetViewport.h" #include "json/json.h" +#include "Commands/ICommand.h" +#include "Commands/BaseCommandBuilder.h" namespace OrthancStone { @@ -53,6 +55,12 @@ virtual IWidget* GetCentralWidget() = 0; virtual void Finalize() = 0; + + virtual BaseCommandBuilder& GetCommandBuilder() = 0; + + virtual void ExecuteCommand(ICommand& command) + { + } }; }