featuremgmt/featuremgr/src/clientdll/featmgrtlsdata.h
branchRCL_3
changeset 8 fa9941cf3867
parent 0 08ec8eefde2f
child 9 667e88a979d7
--- a/featuremgmt/featuremgr/src/clientdll/featmgrtlsdata.h	Sat Feb 20 00:33:55 2010 +0200
+++ b/featuremgmt/featuremgr/src/clientdll/featmgrtlsdata.h	Fri Mar 12 15:51:02 2010 +0200
@@ -30,6 +30,9 @@
 // FORWARD DECLARATIONS
 class MFeatureObserver;
 
+//Exported function for test purpose only 
+IMPORT_C TInt GetClientCount();
+
 // CLASS DECLARATION
 
 /**
@@ -67,6 +70,11 @@
         * Decrease client count for this thread
         */
 		void DecreaseClientCount();
+		
+		/**
+        * Get client count for this thread. Used for testing purpose only
+        */
+        int ClientCount();
         
 		/**
         * From MFeatureClient
@@ -128,6 +136,10 @@
 #ifdef EXTENDED_FEATURE_MANAGER_TEST
 		// Debug only API functions
     public:
+        void ResourceMark();
+        void ResourceCheck();
+        TInt ResourceCount();
+        void SetHeapFailure(TInt aAllocFailType, TInt aRate);
 		TInt NumberOfNotifyFeatures( void ) const;
 		TInt CountAllocCells( void ) const;
 #endif