kerneltest/e32test/resourceman/d_rescontrolcli.h
changeset 281 13fbfa31d2ba
parent 31 56f325a607ea
--- a/kerneltest/e32test/resourceman/d_rescontrolcli.h	Fri Sep 17 08:37:04 2010 +0300
+++ b/kerneltest/e32test/resourceman/d_rescontrolcli.h	Mon Oct 04 02:35:35 2010 +0300
@@ -88,6 +88,7 @@
 		ECheckPostBootLevelNotifications,
 		ECancelNotification, 
 		EGetControllerVersion,
+		ERegisterResourceController,
 #ifdef PRM_ENABLE_EXTENDED_VERSION
 		ERegisterDynamicResource,
 		EDeRegisterDynamicResource,
@@ -134,6 +135,7 @@
 	TInt DeRegisterClientLevelFromResource(TInt aClientId, TUint aResId);
 	TInt CheckPostBootLevelNotifications();
 	TInt GetResourceControllerVersion(TUint aClientId, TUint& aVersion);
+	TInt CheckResourceControllerRegistration();
 #ifdef PRM_ENABLE_EXTENDED_VERSION
 	TInt RegisterDynamicResource(TUint aClientId, TUint& aResourceId);
 	TInt DeRegisterDynamicResource(TUint aClientId, TUint aResourceId, TInt *aLevel);
@@ -507,6 +509,11 @@
 	return DoControl(EGetControllerVersion, (TAny*)aClientId, (TAny*)&aVersion);
 	}
 
+TInt RTestResMan::CheckResourceControllerRegistration()
+	{
+	return DoControl(ERegisterResourceController, (TAny*)NULL, (TAny*)NULL);
+	}
+
 #ifdef PRM_ENABLE_EXTENDED_VERSION
 /** Register dynamic resource.
 	@Param - aClientId - Id of the client that is registering the dynamic resource