Mercurial > hg > orthanc-stone
diff Framework/Widgets/IWidget.h @ 53:c2dc924f1a63 wasm
removing threading out of the framework
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 27 Apr 2017 16:57:49 +0200 |
parents | 25befef48c35 |
children | 01aa453d4d5b |
line wrap: on
line diff
--- a/Framework/Widgets/IWidget.h Thu Apr 27 14:50:40 2017 +0200 +++ b/Framework/Widgets/IWidget.h Thu Apr 27 16:57:49 2017 +0200 @@ -27,7 +27,7 @@ namespace OrthancStone { - class IWidget : public IThreadUnsafe + class IWidget : public boost::noncopyable { public: class IChangeObserver : public boost::noncopyable @@ -40,6 +40,10 @@ virtual void NotifyChange(const IWidget& widget) = 0; }; + virtual ~IWidget() + { + } + virtual void SetStatusBar(IStatusBar& statusBar) = 0; virtual void ResetStatusBar() = 0;