All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
StyleMappingRouteObserver.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "Types.h"
6 #include "Routes.h"
7 #include "RouteCallback.h"
8 
9 namespace Eegeo
10 {
11  namespace Routes
12  {
14  {
15  RouteRepository& m_routeRepository;
16  RouteStyleRepository& m_routeStyleRepository;
17 
18  TRouteCallback<StyleMappingRouteObserver> m_routeAddedCallback;
19  TRouteCallback<StyleMappingRouteObserver> m_routeRemovedCallback;
20 
21  void HandleRouteAdded(const Route* pRoute);
22  void HandleRouteRemoved(const Route* pRoute);
23 
24 
25  public:
27  RouteRepository& routeRepository,
28  RouteStyleRepository& routeStyleRepository);
30  };
31  }
32 }