--- a/tsrc/centralrepositorystub/inc/centralrepository.h Thu Aug 19 09:51:39 2010 +0300
+++ b/tsrc/centralrepositorystub/inc/centralrepository.h Tue Aug 31 15:12:07 2010 +0300
@@ -26,6 +26,7 @@
#include <e32base.h>
+const TInt KCenRepStubGlobalKeyValueMaxLen = 20; // stub stuff
namespace NCentralRepositoryConstants
/** Namespace encapsulating the CentralRepository constants.
@@ -256,6 +257,10 @@
// Deletes heap reserved by previous function.
static void DeleteStubAvcConfigKeys();
+ // Setter for static cenrep val, note amount of globals is limited
+ static TInt SetStubGlobal(TUint32 aKey, TInt aValue);
+ static void ResetStubGlobal();
+
public: // Stub data
@@ -278,6 +283,16 @@
static TInt iStaticEncoderUid;
+ class TCenRepStubKeyValueEntry
+ {
+ public:
+ TUint iKey;
+ TInt iVal;
+ };
+
+ static TCenRepStubKeyValueEntry iGlobalKeyVals[ KCenRepStubGlobalKeyValueMaxLen ];
+ static TInt iGlobalKeyValsTop;
+
TUid iRepositoryUid;