All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
LabelCellModelController.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "Types.h"
6 #include "Labels.h"
7 
8 #include "LabelCellResourceObserver.h"
9 
10 namespace Eegeo
11 {
12  namespace Labels
13  {
16  {
17  public:
18  LabelCellModelController(ILabelCellResourceObserver& labelCellResourceObserver,
19  IAnchoredLabelSourceRepository& labelSourceRepository);
20 
22 
23  private:
24  void HandleLabelCellResourceAddedToSceneGraph(const LabelCellResource& resource);
25  void HandleLabelCellResourceRemovedFromSceneGraph(const LabelCellResource& resource);
26 
28 
29  ILabelCellResourceObserver& m_labelCellResourceObserver;
30  IAnchoredLabelSourceRepository& m_labelSourceRepository;
31 
32  TLabelCellResourceObserverCallback m_labelCellResourceAddedToSceneGraphCallback;
33  TLabelCellResourceObserverCallback m_labelCellResourceRemovedFromSceneGraphCallback;
34  };
35  }
36 }