Mercurial > hg > orthanc-stone
comparison Framework/Viewport/IViewport.h @ 643:f0008c55e5f7
getting rid of MessageType enumeration
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 10 May 2019 17:34:48 +0200 |
parents | 42dadae61fa9 |
children | 4f2416d519b4 |
comparison
equal
deleted
inserted
replaced
642:7ca8dc7ec17b | 643:f0008c55e5f7 |
---|---|
33 class IWidget; // Forward declaration | 33 class IWidget; // Forward declaration |
34 | 34 |
35 class IViewport : public IObservable | 35 class IViewport : public IObservable |
36 { | 36 { |
37 public: | 37 public: |
38 typedef OriginMessage<MessageType_ViewportChanged, IViewport> ViewportChangedMessage; | 38 ORTHANC_STONE_DEFINE_ORIGIN_MESSAGE(__FILE__, __LINE__, ViewportChangedMessage, IViewport); |
39 | 39 |
40 IViewport(MessageBroker& broker) : | 40 IViewport(MessageBroker& broker) : |
41 IObservable(broker) | 41 IObservable(broker) |
42 { | 42 { |
43 } | 43 } |