linklayercontrol/networkinterfacemgr/agentprcore/inc/tunnelagentcpr.h
branchRCL_3
changeset 19 3652a10b304a
parent 0 af10295192d8
equal deleted inserted replaced
17:d566d76acea1 19:3652a10b304a
    40 {
    40 {
    41 	class TJoinRealIAP;
    41 	class TJoinRealIAP;
    42 }
    42 }
    43 
    43 
    44 
    44 
    45 class CTunnelAgentConnectionProvider : public CAgentConnectionProvider
    45 class CTunnelAgentConnectionProvider : public CAgentConnectionProvider,
       
    46 									   public ESock::MPlatsecApiExt,
       
    47 									   public ITFHIERARCHY_LINK_1(CTunnelAgentConnectionProvider, CAgentConnectionProvider, ESock::MPlatsecApiExt)
       
    48 
    46 	{
    49 	{
    47 	friend class TunnelAgentCprStates::TJoinRealIAP;
    50 	friend class TunnelAgentCprStates::TJoinRealIAP;
       
    51 
       
    52 public:
       
    53 	typedef ITFHIERARCHY_LINK_1(CTunnelAgentConnectionProvider, CAgentConnectionProvider, ESock::MPlatsecApiExt) TIfStaticFetcherNearestInHierarchy;
    48 
    54 
    49 public:
    55 public:
    50     IMPORT_C static CTunnelAgentConnectionProvider* NewL(ESock::CConnectionProviderFactoryBase& aFactory);
    56     IMPORT_C static CTunnelAgentConnectionProvider* NewL(ESock::CConnectionProviderFactoryBase& aFactory);
    51     IMPORT_C ~CTunnelAgentConnectionProvider();
    57     IMPORT_C ~CTunnelAgentConnectionProvider();
    52 
    58 
       
    59     using CAgentConnectionProvider::ReturnInterfacePtrL;
       
    60     void ReturnInterfacePtrL(ESock::MPlatsecApiExt*& aInterface);
    53 protected:
    61 protected:
    54     CTunnelAgentConnectionProvider(ESock::CConnectionProviderFactoryBase& aFactory);
    62     CTunnelAgentConnectionProvider(ESock::CConnectionProviderFactoryBase& aFactory);
    55     CTunnelAgentConnectionProvider(ESock::CConnectionProviderFactoryBase& aFactory, const MeshMachine::TNodeActivityMap& aActivityMap);
    63     CTunnelAgentConnectionProvider(ESock::CConnectionProviderFactoryBase& aFactory, const MeshMachine::TNodeActivityMap& aActivityMap);
       
    64 	// MPlatSecApiExt
       
    65 	TInt SecureId(TSecureId& aResult) const;
       
    66 	TInt VendorId(TVendorId& aResult) const;
       
    67 	TBool HasCapability(const TCapability aCapability) const;
       
    68 	TInt CheckPolicy(const TSecurityPolicy& aPolicy) const;
    56 	};
    69 	};
    57 
    70 
    58 
    71 
    59 #endif
    72 #endif
    60 // SYMBIAN_TUNNELAGENTCPR_H
    73 // SYMBIAN_TUNNELAGENTCPR_H