comparison UnitTestsSources/TestMessageBroker.cpp @ 266:c9cf95b49a86 am-2

removed OrthancSlicesLoader::ISliceLoaderObserver; now using standard messages instead
author am@osimis.io
date Tue, 21 Aug 2018 18:14:22 +0200
parents e5a9b3d03478
children 89d02de83c03
comparison
equal deleted inserted replaced
265:30dc6e383b0b 266:c9cf95b49a86
36 MyObserver(OrthancStone::MessageBroker& broker) 36 MyObserver(OrthancStone::MessageBroker& broker)
37 : OrthancStone::IObserver(broker) 37 : OrthancStone::IObserver(broker)
38 {} 38 {}
39 39
40 40
41 void HandleMessage(OrthancStone::IObservable& from, const OrthancStone::IMessage& message) { 41 void HandleMessage(const OrthancStone::IObservable& from, const OrthancStone::IMessage& message) {
42 if (message.GetType() == OrthancStone::MessageType_Generic) { 42 if (message.GetType() == OrthancStone::MessageType_Generic) {
43 globalCounter++; 43 globalCounter++;
44 } 44 }
45 45
46 } 46 }