remotemgmt_plat/dm_native_notifier_api/inc/DMNativeNotifier.inl
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 14 Apr 2010 16:50:34 +0300
branchRCL_3
changeset 21 504e41245867
parent 9 57a65a3a658c
permissions -rw-r--r--
Revision: 201013 Kit: 201015


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