equal
deleted
inserted
replaced
110 { |
110 { |
111 /** Client requested that the object store its data on a provider */ |
111 /** Client requested that the object store its data on a provider */ |
112 EOperationSet = 0, |
112 EOperationSet = 0, |
113 |
113 |
114 /** Client requested that the object retreive data from a provider */ |
114 /** Client requested that the object retreive data from a provider */ |
115 EOperationGet = 1 |
115 EOperationGet = 1, |
|
116 |
|
117 /** |
|
118 Default value for uninitialized requests. |
|
119 This is only used as a sanity checking measure where the implementation of a |
|
120 CommsDataObject has failed to explicitly specify the client requested operation, i.e. get or set |
|
121 */ |
|
122 EOperationUninitialized = 0xFFFFFFFF |
116 }; |
123 }; |
117 |
124 |
118 |
125 |
119 /** |
126 /** |
120 Flags that identify the operations that a CommsDataObject supports. |
127 Flags that identify the operations that a CommsDataObject supports. |
158 least the Get or Set operation. |
165 least the Get or Set operation. |
159 |
166 |
160 @see MAccessPointConfigApi |
167 @see MAccessPointConfigApi |
161 */ |
168 */ |
162 XCommsDataObject(TUint aFlags) |
169 XCommsDataObject(TUint aFlags) |
163 : iReqItfExtId((TUint)EAccessPointConfigApi), iFlags(aFlags) |
170 : iOperationMode(EOperationUninitialized), iReqItfExtId((TUint)EAccessPointConfigApi), iFlags(aFlags) |
164 { |
171 { |
165 __ASSERT_DEBUG((aFlags & ~EAllFlags) == 0, User::Panic(KSpecAssert_ESocks_cmsdtbjct, 1)); |
172 __ASSERT_DEBUG((aFlags & ~EAllFlags) == 0, User::Panic(KSpecAssert_ESocks_cmsdtbjct, 1)); |
166 __ASSERT_DEBUG((aFlags & EOperationSupportMask) != 0, User::Panic(KSpecAssert_ESocks_cmsdtbjct, 2)); |
173 __ASSERT_DEBUG((aFlags & EOperationSupportMask) != 0, User::Panic(KSpecAssert_ESocks_cmsdtbjct, 2)); |
167 } |
174 } |
168 |
175 |
176 least the Get or Set operation. |
183 least the Get or Set operation. |
177 |
184 |
178 @param aReqItfExtId An interface identifier from TSupportedCommsApiExt. |
185 @param aReqItfExtId An interface identifier from TSupportedCommsApiExt. |
179 */ |
186 */ |
180 XCommsDataObject(TUint aFlags, TUint aReqItfExtId) |
187 XCommsDataObject(TUint aFlags, TUint aReqItfExtId) |
181 : iReqItfExtId(aReqItfExtId), iFlags(aFlags) |
188 : iOperationMode(EOperationUninitialized), iReqItfExtId(aReqItfExtId), iFlags(aFlags) |
182 { |
189 { |
183 __ASSERT_DEBUG((aFlags & ~EAllFlags) == 0, User::Panic(KSpecAssert_ESocks_cmsdtbjct, 3)); |
190 __ASSERT_DEBUG((aFlags & ~EAllFlags) == 0, User::Panic(KSpecAssert_ESocks_cmsdtbjct, 3)); |
184 __ASSERT_DEBUG((aFlags & EOperationSupportMask) != 0, User::Panic(KSpecAssert_ESocks_cmsdtbjct, 4)); |
191 __ASSERT_DEBUG((aFlags & EOperationSupportMask) != 0, User::Panic(KSpecAssert_ESocks_cmsdtbjct, 4)); |
185 } |
192 } |
186 |
193 |