remotemgmt_plat/dm_native_notifier_api/inc/DMNativeNotifier.inl
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:27:42 +0100
branchRCL_3
changeset 26 19bba8228ff0
parent 9 57a65a3a658c
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035


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);
    }