remotemgmt_plat/dm_native_notifier_api/inc/DMNativeNotifier.inl
branchRCL_3
changeset 62 19bba8228ff0
parent 9 57a65a3a658c
equal deleted inserted replaced
61:b183ec05bd8c 62:19bba8228ff0
       
     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     }