All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
IModelObserver.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "Labels.h"
6 #include "Types.h"
7 #include "ICallback.h"
8 #include "CallbackCollection.h"
9 
10 namespace Eegeo
11 {
12  namespace Labels
13  {
15  {
16  public:
18 
19  virtual ~IModelObserver() {;}
20 
21  virtual void RegisterChangedCallback(CallbackType& callback) = 0;
22 
23  virtual void UnregisterChangedCallback(CallbackType& callback) = 0;
24  protected:
25  virtual void NotifyChanged() const = 0;
26  };
27  }
28 }