1 // Copyright (c) 2005-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 // Reference SubConnection Provider Factory class definition. |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalComponent |
|
21 */ |
|
22 |
|
23 #if !defined(__REFERENCE_SUBCONNPROVFACTORY_H__) |
|
24 #define __REFERENCE_SUBCONNPROVFACTORY_H__ |
|
25 |
|
26 |
|
27 #include <comms-infras/ss_subconnprov.h> |
|
28 |
|
29 //phony protocol family id, replace with the actual |
|
30 const TUint KReferenceSubConnectionProviderFactoryId = 0xF0F0; |
|
31 |
|
32 class CReferenceSubConnectionProviderFactory : public CSubConnectionProviderFactoryBase |
|
33 /**This is a sample/reference derivation of the subconnection provider factory. |
|
34 Each such derivation should be able to produce a specific type of subconnection providers, |
|
35 where the type usually denotes a particular technology (e.g.: IP, UMTS, SIP). |
|
36 |
|
37 @internalComponent |
|
38 @released since v9.2 |
|
39 */ |
|
40 { |
|
41 public: |
|
42 static CReferenceSubConnectionProviderFactory* NewL(TAny* aConstructionParameters); |
|
43 |
|
44 protected: |
|
45 |
|
46 CReferenceSubConnectionProviderFactory(TUint aFactoryId, CSubConnectionFactoryContainer& aParentContainer); |
|
47 virtual ~CReferenceSubConnectionProviderFactory(); |
|
48 virtual CSubConnectionProviderBase* DoCreateProviderL(CConnectionProviderBase& aConnProvider, RSubConnection::TSubConnType aType); |
|
49 |
|
50 }; |
|
51 |
|
52 |
|
53 #endif // __REFERENCE_SUBCONNPROVFACTORY_H__ |
|