remotemgmt_plat/dm_native_notifier_api/inc/DMNativeNotifier.inl
branchRCL_3
changeset 9 57a65a3a658c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/remotemgmt_plat/dm_native_notifier_api/inc/DMNativeNotifier.inl	Fri Feb 19 23:41:35 2010 +0200
@@ -0,0 +1,24 @@
+
+inline CDMNativeNotifier* CDMNativeNotifier::NewL(TUid aOperationId)
+    {  
+    
+    TAny* interface = REComSession::CreateImplementationL( aOperationId
+                                        ,_FOFF (CDMNativeNotifier, iDtor_ID_Key)); 
+    return reinterpret_cast <CDMNativeNotifier*> (interface);
+    
+    }
+
+inline CDMNativeNotifier::~CDMNativeNotifier()
+    {
+    REComSession::DestroyedImplementation (iDtor_ID_Key);    
+    }
+
+inline void CDMNativeNotifier::ListImplementationsL(RImplInfoPtrArray& aImplInfoArray)
+    {
+    _LIT8(KOperationName,"DialogEcom");
+    TEComResolverParams resolverParams;
+    resolverParams.SetDataType(KOperationName());
+    resolverParams.SetWildcardMatch(ETrue);     // Allow wildcard matching
+
+    REComSession::ListImplementationsL(KNotifierInterfaceUid,resolverParams,KRomOnlyResolverUid, aImplInfoArray);
+    }