HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
CH_BookmarkPropagateData.h
Go to the documentation of this file.
1
/*
2
* PROPRIETARY INFORMATION. This software is proprietary to
3
* Side Effects Software Inc., and is not to be reproduced,
4
* transmitted, or disclosed in any way without written permission.
5
*
6
* NAME: CH Bookmark (C++)
7
*
8
* COMMENTS: Propagation data used by CH_Manager when a bookmark is changed
9
*
10
*/
11
12
#ifndef __CH_BookmarkPropagateData_h__
13
#define __CH_BookmarkPropagateData_h__
14
15
#include "
CH_API.h
"
16
17
#include <
DEP/DEP_MicroNode.h
>
18
19
enum class
CH_BookmarkEvent
{
20
Created
,
21
InteractionStarted
,
22
Modified
,
23
InteractionFinished
,
24
Deleted
,
25
Reset
,
// Fires when the entire bookmark list is reset,
26
// loading entirely new ones.
27
};
28
29
class
CH_API
CH_BookmarkPropagateData
:
public
DEP_PropagateData
30
{
31
public
:
32
33
CH_BookmarkPropagateData
(
CH_BookmarkEvent
action,
int64
id
)
34
: myBookmarkId(id), myEvent(action)
35
{
36
}
37
38
int64
getBookmarkId
()
const
{
return
myBookmarkId; }
39
CH_BookmarkEvent
getEvent
()
const
{
return
myEvent; }
40
41
private
:
42
// Id of the bookmark that was modified. If -1, the entire list was swapped out/reset.
43
// Event should be 'Reset' in this case.
44
int64
myBookmarkId;
45
// Event which was taken on the bookmark
46
CH_BookmarkEvent
myEvent;
47
};
48
49
50
#endif
CH_BookmarkPropagateData::getEvent
CH_BookmarkEvent getEvent() const
Definition:
CH_BookmarkPropagateData.h:39
CH_BookmarkEvent::Reset
CH_BookmarkEvent::Created
CH_BookmarkEvent::Deleted
CH_BookmarkPropagateData::getBookmarkId
int64 getBookmarkId() const
Definition:
CH_BookmarkPropagateData.h:38
CH_BookmarkPropagateData
Definition:
CH_BookmarkPropagateData.h:29
DEP_MicroNode.h
int64
long long int64
Definition:
SYS_Types.h:116
CH_API.h
CH_BookmarkEvent
CH_BookmarkEvent
Definition:
CH_BookmarkPropagateData.h:19
CH_API
#define CH_API
Definition:
CH_API.h:10
CH_BookmarkEvent::InteractionFinished
CH_BookmarkEvent::Modified
CH_BookmarkEvent::InteractionStarted
DEP_PropagateData
Propagation info for a dep micro node.
Definition:
DEP_MicroNode.h:36
CH_BookmarkPropagateData::CH_BookmarkPropagateData
CH_BookmarkPropagateData(CH_BookmarkEvent action, int64 id)
Definition:
CH_BookmarkPropagateData.h:33
CH
CH_BookmarkPropagateData.h
Generated on Sat Nov 23 2024 02:45:46 for HDK by
1.8.6