equal
deleted
inserted
replaced
24 // Stub forward declarations |
24 // Stub forward declarations |
25 class CDesC8ArrayFlat; |
25 class CDesC8ArrayFlat; |
26 |
26 |
27 #include <e32base.h> |
27 #include <e32base.h> |
28 |
28 |
29 const TInt KCenRepStubGlobalKeyValueMaxLen = 20; // stub stuff |
|
30 |
29 |
31 namespace NCentralRepositoryConstants |
30 namespace NCentralRepositoryConstants |
32 /** Namespace encapsulating the CentralRepository constants. |
31 /** Namespace encapsulating the CentralRepository constants. |
33 @publishedAll |
32 @publishedAll |
34 @released |
33 @released |
255 // Setter for static variable staticAvcConfigKeys. Reserves heap. |
254 // Setter for static variable staticAvcConfigKeys. Reserves heap. |
256 static void SetStubAvcConfigKeysL( const TDesC8& aConfigKeys ); |
255 static void SetStubAvcConfigKeysL( const TDesC8& aConfigKeys ); |
257 // Deletes heap reserved by previous function. |
256 // Deletes heap reserved by previous function. |
258 static void DeleteStubAvcConfigKeys(); |
257 static void DeleteStubAvcConfigKeys(); |
259 |
258 |
260 // Setter for static cenrep val, note amount of globals is limited |
|
261 static TInt SetStubGlobal(TUint32 aKey, TInt aValue); |
|
262 static void ResetStubGlobal(); |
|
263 |
|
264 |
259 |
265 public: // Stub data |
260 public: // Stub data |
266 |
261 |
267 static MusSettingsKeys::TOperatorVariant iOperatorVariant; |
262 static MusSettingsKeys::TOperatorVariant iOperatorVariant; |
268 |
263 |
281 static HBufC8* iStaticAvcConfigKeys; |
276 static HBufC8* iStaticAvcConfigKeys; |
282 static TBool iStaticWriteAvcKeysToStaticData; |
277 static TBool iStaticWriteAvcKeysToStaticData; |
283 |
278 |
284 static TInt iStaticEncoderUid; |
279 static TInt iStaticEncoderUid; |
285 |
280 |
286 class TCenRepStubKeyValueEntry |
|
287 { |
|
288 public: |
|
289 TUint iKey; |
|
290 TInt iVal; |
|
291 }; |
|
292 |
|
293 static TCenRepStubKeyValueEntry iGlobalKeyVals[ KCenRepStubGlobalKeyValueMaxLen ]; |
|
294 static TInt iGlobalKeyValsTop; |
|
295 |
|
296 TUid iRepositoryUid; |
281 TUid iRepositoryUid; |
297 |
282 |
298 |
283 |
299 |
284 |
300 }; |
285 }; |