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 |
29 |
30 |
30 namespace NCentralRepositoryConstants |
31 namespace NCentralRepositoryConstants |
31 /** Namespace encapsulating the CentralRepository constants. |
32 /** Namespace encapsulating the CentralRepository constants. |
32 @publishedAll |
33 @publishedAll |
33 @released |
34 @released |
254 // Setter for static variable staticAvcConfigKeys. Reserves heap. |
255 // Setter for static variable staticAvcConfigKeys. Reserves heap. |
255 static void SetStubAvcConfigKeysL( const TDesC8& aConfigKeys ); |
256 static void SetStubAvcConfigKeysL( const TDesC8& aConfigKeys ); |
256 // Deletes heap reserved by previous function. |
257 // Deletes heap reserved by previous function. |
257 static void DeleteStubAvcConfigKeys(); |
258 static void DeleteStubAvcConfigKeys(); |
258 |
259 |
|
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 |
259 |
264 |
260 public: // Stub data |
265 public: // Stub data |
261 |
266 |
262 static MusSettingsKeys::TOperatorVariant iOperatorVariant; |
267 static MusSettingsKeys::TOperatorVariant iOperatorVariant; |
263 |
268 |
276 static HBufC8* iStaticAvcConfigKeys; |
281 static HBufC8* iStaticAvcConfigKeys; |
277 static TBool iStaticWriteAvcKeysToStaticData; |
282 static TBool iStaticWriteAvcKeysToStaticData; |
278 |
283 |
279 static TInt iStaticEncoderUid; |
284 static TInt iStaticEncoderUid; |
280 |
285 |
|
286 class TCenRepStubKeyValueEntry |
|
287 { |
|
288 public: |
|
289 TUint iKey; |
|
290 TInt iVal; |
|
291 }; |
|
292 |
|
293 static TCenRepStubKeyValueEntry iGlobalKeyVals[ KCenRepStubGlobalKeyValueMaxLen ]; |
|
294 static TInt iGlobalKeyValsTop; |
|
295 |
281 TUid iRepositoryUid; |
296 TUid iRepositoryUid; |
282 |
297 |
283 |
298 |
284 |
299 |
285 }; |
300 }; |