Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Labels
LabelStyleRepositoryObserver.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "Types.h"
6
#include "Labels.h"
7
#include "ModelRepository.h"
8
#include "LabelStyle.h"
9
#include "IModelObserver.h"
10
#include "LabelStyleRepository.h"
11
12
namespace
Eegeo
13
{
14
namespace
Labels
15
{
16
class
ILabelStyleRepositoryObserver
:
public
IModelObserver
17
{
18
};
19
20
class
LabelStyleRepositoryObserver
:
public
ILabelStyleRepositoryObserver
,
public
ILabelStyleRepository::ObserverType
,
private
Eegeo::NonCopyable
21
{
22
public
:
23
LabelStyleRepositoryObserver
(
ILabelStyleRepository
& labelStyleRepository);
24
25
~
LabelStyleRepositoryObserver
();
26
27
void
OnItemAdded(
const
ItemType& item);
28
29
void
OnItemRemoved(
const
ItemType& item);
30
31
void
RegisterChangedCallback(CallbackType& callback);
32
33
void
UnregisterChangedCallback(CallbackType& callback);
34
private
:
35
void
NotifyChanged()
const
;
36
37
ILabelStyleRepository
& m_labelStyleRepository;
38
39
Helpers::CallbackCollection0
m_callbacks;
40
};
41
42
43
44
}
45
}
Generated on Sat Jun 10 2023 02:00:31 for eeGeo Platform SDK by
1.8.3.1