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