|
1 /* |
|
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: S60 MCPR's factory |
|
15 * |
|
16 */ |
|
17 |
|
18 /** |
|
19 @file s60mcprfactory.h |
|
20 S60 MCPR's factory. |
|
21 */ |
|
22 |
|
23 |
|
24 #ifndef S60MCPRFACTORY_H |
|
25 #define S60MCPRFACTORY_H |
|
26 |
|
27 #include <comms-infras/ss_metaconnprov.h> |
|
28 |
|
29 /** |
|
30 * CS60MetaConnectionProviderFactory factory class. |
|
31 */ |
|
32 class CS60MetaConnectionProviderFactory : public ESock::CMetaConnectionProviderFactoryBase |
|
33 { |
|
34 public: |
|
35 enum { iUid = 0x101F6D4B }; |
|
36 /** |
|
37 * Factory function for the factory which manages network level meta connection providers. |
|
38 * This function also acts as the single ECom entry point into this object. |
|
39 * @param aParentContainer the parent factory container which owns this factory |
|
40 * @return factory for IP level meta connection providers |
|
41 */ |
|
42 static CS60MetaConnectionProviderFactory* NewL(TAny* aParentContainer); |
|
43 protected: |
|
44 /** |
|
45 * Constructor for Network level meta connection providers. |
|
46 * @param aFactoryId the ID which this factory can be looked up by |
|
47 * @param aParentContainer the parent factory container which owns this factory |
|
48 */ |
|
49 CS60MetaConnectionProviderFactory(TUid aFactoryUid, ESock::CMetaConnectionFactoryContainer& aParentContainer); |
|
50 /** |
|
51 * Constructor for Network level meta connection provider. |
|
52 * @return pointer to new S60 MCPR. |
|
53 */ |
|
54 ESock::ACommsFactoryNodeId* DoCreateObjectL(ESock::TFactoryQueryBase& aQuery); |
|
55 }; |
|
56 |
|
57 #endif //S60MCPRFACTORY_H |