Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Labels
AsyncLoadedLabelAnchorCategoryIconMapper.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "ILabelAnchorCategoryIconMapper.h"
6
#include "LabelAnchorCategoryIconMapLoader.h"
7
#include "ICallback.h"
8
#include "Icons.h"
9
#include "Labels.h"
10
#include <string>
11
12
namespace
Eegeo
13
{
14
namespace
Labels
15
{
16
class
AsyncLoadedLabelAnchorCategoryIconMapper
:
public
ILabelAnchorCategoryIconMapper
17
{
18
public
:
19
20
AsyncLoadedLabelAnchorCategoryIconMapper
(
ILabelAnchorCategoryIconMapRepository
& categoryIconMapRepository,
21
const
Icons::IconSet
& iconSet,
22
LabelAnchorCategoryIconMapLoader::TParsedResultsCallbacks
& parsedResultsCallbacks);
23
~
AsyncLoadedLabelAnchorCategoryIconMapper
();
24
25
const
Icons::IconDefinition
* GetIcon(
const
LabelAnchorCategory
& anchorCategory)
const
;
26
27
28
private
:
29
30
void
OnCategoryIconMapParsed(
const
LabelAnchorCategoryIconMapParseResult
& parserResult);
31
32
ILabelAnchorCategoryIconMapRepository
& m_categoryIconMapRepository;
33
const
Icons::IconSet
& m_iconSet;
34
LabelAnchorCategoryIconMapLoader::TParsedResultsCallbacks
& m_parsedResultsCallbacks;
35
Helpers::TCallback1<AsyncLoadedLabelAnchorCategoryIconMapper, const LabelAnchorCategoryIconMapParseResult>
m_parseMapCallback;
36
ILabelAnchorCategoryIconMapper
* m_pInstance;
37
};
38
}
39
}
Generated on Sat Jun 10 2023 02:00:31 for eeGeo Platform SDK by
1.8.3.1