Mercurial > hg > orthanc-stone
comparison Applications/Generic/GuiAdapter.h @ 1226:05d05cba0f4f broker
explicitely tagging LockingEmitter as deprecated
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sun, 08 Dec 2019 11:57:46 +0100 |
parents | 4383382db01d |
children | 0ca50d275b9a |
comparison
equal
deleted
inserted
replaced
1225:16738485e457 | 1226:05d05cba0f4f |
---|---|
41 # endif | 41 # endif |
42 #endif | 42 #endif |
43 | 43 |
44 #include "../../Framework/StoneException.h" | 44 #include "../../Framework/StoneException.h" |
45 | 45 |
46 #if ORTHANC_ENABLE_THREADS != 1 | 46 #if ORTHANC_ENABLE_THREADS == 1 |
47 # include "../../Framework/Messages/LockingEmitter.h" | 47 # include "../../Framework/Deprecated/Messages/LockingEmitter.h" |
48 #endif | 48 #endif |
49 | 49 |
50 #include <vector> | 50 #include <vector> |
51 #include <boost/shared_ptr.hpp> | 51 #include <boost/shared_ptr.hpp> |
52 #include <boost/weak_ptr.hpp> | 52 #include <boost/weak_ptr.hpp> |
93 struct GuiAdapterUiEvent; | 93 struct GuiAdapterUiEvent; |
94 struct GuiAdapterMouseEvent; | 94 struct GuiAdapterMouseEvent; |
95 struct GuiAdapterWheelEvent; | 95 struct GuiAdapterWheelEvent; |
96 struct GuiAdapterKeyboardEvent; | 96 struct GuiAdapterKeyboardEvent; |
97 | 97 |
98 namespace Deprecated | |
99 { | |
100 class LockingEmitter; | |
101 } | |
102 | |
103 #if 1 | 98 #if 1 |
104 typedef bool (*OnMouseEventFunc)(std::string canvasId, const GuiAdapterMouseEvent* mouseEvent, void* userData); | 99 typedef bool (*OnMouseEventFunc)(std::string canvasId, const GuiAdapterMouseEvent* mouseEvent, void* userData); |
105 typedef bool (*OnMouseWheelFunc)(std::string canvasId, const GuiAdapterWheelEvent* wheelEvent, void* userData); | 100 typedef bool (*OnMouseWheelFunc)(std::string canvasId, const GuiAdapterWheelEvent* wheelEvent, void* userData); |
106 typedef bool (*OnKeyDownFunc) (std::string canvasId, const GuiAdapterKeyboardEvent* keyEvent, void* userData); | 101 typedef bool (*OnKeyDownFunc) (std::string canvasId, const GuiAdapterKeyboardEvent* keyEvent, void* userData); |
107 typedef bool (*OnKeyUpFunc) (std::string canvasId, const GuiAdapterKeyboardEvent* keyEvent, void* userData); | 102 typedef bool (*OnKeyUpFunc) (std::string canvasId, const GuiAdapterKeyboardEvent* keyEvent, void* userData); |