1 /*---------------------------------------------------------------------------*
2   Project:  Horizon
3   File:     boss_TaskOption.h
4   Copyright (C)2009 Nintendo Co., Ltd.  All rights reserved.
5   These coded instructions, statements, and computer programs contain
6   proprietary information of Nintendo of America Inc. and/or Nintendo
7   Company Ltd., and are protected by Federal copyright law. They may
8   not be disclosed to third parties or copied or duplicated in any form,
9   in whole or in part, without the prior written consent of Nintendo.
10   $Rev: 34501 $
11  *---------------------------------------------------------------------------
12 
13 
14 */
15 
16 #ifndef NN_BOSS_BOSS_TASK_OPTION_H_
17 #define NN_BOSS_BOSS_TASK_OPTION_H_
18 
19 #include <nn/boss/boss_Const.h>
20 #include <nn/boss/boss_Result.h>
21 #include <nn/boss/boss_Types.h>
22 
23 #ifdef __cplusplus
24 
25 namespace nn {
26 namespace boss {
27 
28 /* Please see man pages for details
29 
30 */
31 class TaskOption
32 {
33 public:
34 /* Please see man pages for details
35 
36 */
37     explicit TaskOption(void);
38 
39 /* Please see man pages for details
40 
41 */
42     virtual ~TaskOption(void);
43 
44 /* Please see man pages for details
45 
46 
47 
48 
49 
50 */
51     nn::Result Initialize(void);
52 
53 /* Please see man pages for details
54 
55 
56 
57 
58 
59 
60 */
61     nn::Result Initialize(ExecOption exec);
62 
63 /* Please see man pages for details
64 
65 
66 
67 
68 
69 
70 
71 
72 */
73     nn::Result SetConditional(u8 target, u32 param1, u32 param2);
74 
75 
76 /* Please see man pages for details
77 
78 
79 
80 
81 
82 
83 
84 
85 
86 
87 
88 
89 
90 
91 */
92     nn::Result SetProperty(PropertyType type, const void* pValue, size_t size);
93 
94 /* Please see man pages for details
95 
96 
97 
98 
99 
100 
101 
102 
103 
104 
105 
106 
107 
108 
109 
110 */
111     nn::Result GetProperty(PropertyType type, void* pValue, size_t size);
112 
113 protected:
114     friend class AccessConfig;
115     TaskOptionConfig m_Option;
116 };
117 
118 } // end of namespace boss
119 } // end of namespace nn
120 
121 #endif // __cplusplus
122 
123 #endif /* NN_BOSS_BOSS_TASK_OPTION_H_ */
124