Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Labels
ILabelStyleSheetLoader.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#include "Labels.h"
4
#include "ICallback.h"
5
6
#include <string>
7
8
9
namespace
Eegeo
10
{
11
namespace
Labels
12
{
13
struct
LabelStyleSheetLoaderResult
14
{
15
LabelStyleSheetLoaderResult
(
const
std::string& url,
bool
succeed)
16
: m_url(url)
17
, m_succeed(succeed)
18
{}
19
20
const
std::string& Url()
const
{
return
m_url; }
21
bool
IsSucceed()
const
{
return
m_succeed; }
22
private
:
23
std::string m_url;
24
bool
m_succeed;
25
};
26
27
28
29
class
ILabelStyleSheetLoader
30
{
31
public
:
32
typedef
Helpers::ICallback1<const LabelStyleSheetLoaderResult>
LoadCompleteCallbackType
;
33
virtual
~
ILabelStyleSheetLoader
() {}
34
35
virtual
void
Load(
const
std::string& url,
LoadCompleteCallbackType
& callback) = 0;
36
37
};
38
}
39
}
Generated on Sat Jun 10 2023 02:00:31 for eeGeo Platform SDK by
1.8.3.1