1 /*---------------------------------------------------------------------------*
2   Project:  Horizon
3   File:     boss_DataStoreUploadAction.h
4 
5   Copyright (C)2009-2012 Nintendo Co., Ltd.  All rights reserved.
6 
7   These coded instructions, statements, and computer programs contain
8   proprietary information of Nintendo of America Inc. and/or Nintendo
9   Company Ltd., and are protected by Federal copyright law.  They may
10   not be disclosed to third parties or copied or duplicated in any form,
11   in whole or in part, without the prior written consent of Nintendo.
12 
13   $Rev: 47465 $
14  *---------------------------------------------------------------------------*/
15 
16 #ifndef NN_BOSS_BOSS_DATASTORE_UPLOAD_ACTION_H_
17 #define NN_BOSS_BOSS_DATASTORE_UPLOAD_ACTION_H_
18 
19 #include <nn/Handle.h>
20 #include <nn/boss/boss_Const.h>
21 #include <nn/boss/boss_Types.h>
22 #include <nn/boss/boss_TaskAction.h>
23 
24 #ifdef __cplusplus
25 
26 namespace nn {
27 namespace boss {
28 
29 /* Please see man pages for details
30 
31 
32 
33 
34 
35 
36 
37 
38 
39 
40 
41 
42 
43 
44 
45 
46 
47 */
48 class DataStoreUploadAction : public TaskAction
49 {
50 public:
51 /* Please see man pages for details
52 
53 */
54     explicit DataStoreUploadAction(void);
55 
56 /* Please see man pages for details
57 
58 */
59     virtual ~DataStoreUploadAction(void);
60 
61 /* Please see man pages for details
62 
63 
64 
65 
66 
67 
68 
69 
70 
71 
72 
73 
74 
75 
76 
77 
78 
79 
80 */
81     nn::Result Initialize(u32 gameId, const wchar_t* pAccessKey, DstKind dstKind, u16 dataType, u16 period);
82 
83 /* Please see man pages for details
84 
85 
86 
87 
88 
89 
90 
91 
92 
93 
94 
95 
96 
97 
98 
99 
100 
101 */
102     nn::Result Initialize(u32 gameId, const wchar_t* pAccessKey, nn::Handle fileHandle, DstKind dstKind, u16 dataType, u16 period);
103 
104 /* Please see man pages for details
105 
106 
107 
108 */
109     u16 GetDstCount(void);
110 
111 /* Please see man pages for details
112 
113 
114 
115 
116 
117 
118 
119 
120 
121 
122 
123 
124 
125 
126 */
127     nn::Result AddDstPrincipalId(u32 principalId);
128 
129 /* Please see man pages for details
130 
131 
132 
133 
134 
135 */
136     nn::Result ClearDstPrincipalId(void);
137 
138 /* Please see man pages for details
139 
140 
141 
142 
143 
144 
145 
146 
147 
148 
149 
150 
151 
152 
153 
154 
155 
156 
157 
158 
159 
160 
161 */
162     virtual nn::Result GetProperty(PropertyType type, void* pValue, size_t size);
163 
164 private:
165     DataStoreUploadConfig* GetConfig(void);
166 };
167 
168 } // end of namespace boss
169 } // end of namespace nn
170 
171 #endif // __cplusplus
172 
173 #endif /* NN_BOSS_BOSS_DATASTORE_UPLOAD_ACTION_H_ */
174 
175