remotemgmt_plat/dm_native_notifier_api/inc/DMNativeNotifier.inl
branchRCL_3
changeset 25 b183ec05bd8c
parent 24 13d7c31c74e0
child 26 19bba8228ff0
equal deleted inserted replaced
24:13d7c31c74e0 25:b183ec05bd8c
     1 
       
     2 inline CDMNativeNotifier* CDMNativeNotifier::NewL(TUid aOperationId)
       
     3     {  
       
     4     
       
     5     TAny* interface = REComSession::CreateImplementationL( aOperationId
       
     6                                         ,_FOFF (CDMNativeNotifier, iDtor_ID_Key)); 
       
     7     return reinterpret_cast <CDMNativeNotifier*> (interface);
       
     8     
       
     9     }
       
    10 
       
    11 inline CDMNativeNotifier::~CDMNativeNotifier()
       
    12     {
       
    13     REComSession::DestroyedImplementation (iDtor_ID_Key);    
       
    14     }
       
    15 
       
    16 inline void CDMNativeNotifier::ListImplementationsL(RImplInfoPtrArray& aImplInfoArray)
       
    17     {
       
    18     _LIT8(KOperationName,"DialogEcom");
       
    19     TEComResolverParams resolverParams;
       
    20     resolverParams.SetDataType(KOperationName());
       
    21     resolverParams.SetWildcardMatch(ETrue);     // Allow wildcard matching
       
    22 
       
    23     REComSession::ListImplementationsL(KNotifierInterfaceUid,resolverParams,KRomOnlyResolverUid, aImplInfoArray);
       
    24     }