|
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // IPProto Connection Provider factory class definition. |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalComponent |
|
21 */ |
|
22 |
|
23 #ifndef SYMBIAN_IPPROTOCPR_FACTORY_H |
|
24 #define SYMBIAN_IPPROTOCPR_FACTORY_H |
|
25 |
|
26 |
|
27 #include <comms-infras/ss_subconnprov.h> |
|
28 #include <comms-infras/ss_nodemessages_legacy.h> |
|
29 #include <comms-infras/ss_legacyinterfaces.h> |
|
30 |
|
31 class CIPProtoConnectionProviderFactory : public ESock::CConnectionProviderFactoryBase, |
|
32 public ESock::MLinkCprFactApiExt, |
|
33 protected NetInterfaces::TInterfaceControl, |
|
34 public ITFHIERARCHY_1(CIPProtoConnectionProviderFactory, ESock::MLinkCprFactApiExt) |
|
35 { |
|
36 public: |
|
37 typedef ITFHIERARCHY_1(CIPProtoConnectionProviderFactory, ESock::MLinkCprFactApiExt) TIfStaticFetcherNearestInHierarchy; |
|
38 public: |
|
39 enum { iUid = 0x10281DD3 }; |
|
40 static CIPProtoConnectionProviderFactory* NewL(TAny* aParentContainer); |
|
41 void ReturnInterfacePtrL(ESock::MLinkCprFactApiExt*& aInterface); |
|
42 virtual void EnumerateConnectionsL(RPointerArray<ESock::TSourcedConnectionInfo>& aConnectionInfoPtrArray); |
|
43 NetInterfaces::TInterfaceControl* DoFetchInterfaceControlL(TSupportedCommsApiExt aInterfaceId); |
|
44 |
|
45 protected: |
|
46 CIPProtoConnectionProviderFactory(TUid aFactoryId, ESock::CConnectionFactoryContainer& aParentContainer); |
|
47 virtual ESock::ACommsFactoryNodeId* DoCreateObjectL(ESock::TFactoryQueryBase& aQuery); |
|
48 }; |
|
49 |
|
50 #endif |
|
51 //SYMBIAN_IPPROTOCPR_FACTORY_H |