Mercurial > hg > orthanc-stone
comparison Applications/Generic/NativeStoneApplicationContext.h @ 726:4f2416d519b4
moving layers, widgets and loaders to Deprecated namespace
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 21 May 2019 11:43:25 +0200 |
parents | a750f11892ec |
children | c35e98d22764 |
comparison
equal
deleted
inserted
replaced
714:d2c0e347ddc2 | 726:4f2416d519b4 |
---|---|
35 { | 35 { |
36 private: | 36 private: |
37 static void UpdateThread(NativeStoneApplicationContext* that); | 37 static void UpdateThread(NativeStoneApplicationContext* that); |
38 | 38 |
39 boost::recursive_mutex globalMutex_; | 39 boost::recursive_mutex globalMutex_; |
40 WidgetViewport centralViewport_; | 40 Deprecated::WidgetViewport centralViewport_; |
41 boost::thread updateThread_; | 41 boost::thread updateThread_; |
42 bool stopped_; | 42 bool stopped_; |
43 unsigned int updateDelayInMs_; | 43 unsigned int updateDelayInMs_; |
44 | 44 |
45 public: | 45 public: |
54 that_(that), | 54 that_(that), |
55 lock_(that.globalMutex_) | 55 lock_(that.globalMutex_) |
56 { | 56 { |
57 } | 57 } |
58 | 58 |
59 IWidget& SetCentralWidget(IWidget* widget); // Takes ownership | 59 Deprecated::IWidget& SetCentralWidget(Deprecated::IWidget* widget); // Takes ownership |
60 | 60 |
61 IViewport& GetCentralViewport() | 61 Deprecated::IViewport& GetCentralViewport() |
62 { | 62 { |
63 return that_.centralViewport_; | 63 return that_.centralViewport_; |
64 } | 64 } |
65 | 65 |
66 void SetUpdateDelay(unsigned int delayInMs) | 66 void SetUpdateDelay(unsigned int delayInMs) |