All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
LabelFontBindingService.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "Labels.h"
6 #include "ILabelFontBindingService.h"
7 #include "Types.h"
8 
9 #include <string>
10 
11 
12 namespace Eegeo
13 {
14  namespace Labels
15  {
17  {
18  public:
19  LabelFontBindingService(ILabelResourceFontBindingRepository& labelResourceFontBindingRepository);
20 
22 
23  void Bind(const std::string& fontBindingName, const std::string& fontName);
24 
25  bool HasBinding(const std::string& fontBindingName) const;
26 
27  const LabelResourceFontBinding* GetBinding(const std::string& fontBindingName) const;
28 
29  void Unbind(const std::string& fontBindingName);
30  private:
31  ILabelResourceFontBindingRepository& m_labelResourceFontBindingRepository;
32  };
33  }
34 }