|
1 // Copyright (c) 2010 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 // Connection Provider Factory |
|
15 // (control plane) |
|
16 // |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalComponent |
|
21 */ |
|
22 |
|
23 #ifndef CMBUFGOBBLERCONNPROVIDERFACTORY_H |
|
24 #define CMBUFGOBBLERCONNPROVIDERFACTORY_H |
|
25 |
|
26 // INCLUDES |
|
27 #include <e32std.h> |
|
28 #include <e32base.h> |
|
29 #include <comms-infras/ss_connprov.h> |
|
30 #include <comms-infras/ss_nodemessages_legacy.h> |
|
31 #include <comms-infras/ss_legacyinterfaces.h> |
|
32 |
|
33 #include "mbufgobbleruids.h" |
|
34 |
|
35 |
|
36 |
|
37 // CLASS DECLARATION |
|
38 |
|
39 /** |
|
40 * CMbufGobblerConnProviderFactory |
|
41 * |
|
42 */ |
|
43 class CMbufGobblerConnProviderFactory : public ESock::CConnectionProviderFactoryBase |
|
44 { |
|
45 public: |
|
46 // Constructors and destructor |
|
47 enum { iUid = EMbufGobblerCPrUid }; |
|
48 static CMbufGobblerConnProviderFactory* NewL(TAny* aParentContainer); |
|
49 /** |
|
50 * Destructor. |
|
51 */ |
|
52 ~CMbufGobblerConnProviderFactory(); |
|
53 |
|
54 protected: //from CConnectionProviderFactoryBase |
|
55 virtual ESock::ACommsFactoryNodeId* DoCreateObjectL(ESock::TFactoryQueryBase& /* aQuery */); |
|
56 virtual void CMbufGobblerConnProviderFactory::EnumerateConnectionsL(RPointerArray<ESock::TSourcedConnectionInfo>& aConnectionInfoPtrArray); |
|
57 |
|
58 |
|
59 private: //class not intended for derivation |
|
60 /** |
|
61 * Constructor for performing 1st stage construction |
|
62 */ |
|
63 CMbufGobblerConnProviderFactory(TUid aFactoryId, ESock::CConnectionFactoryContainer& aParentContainer); |
|
64 |
|
65 /** |
|
66 * EPOC default constructor for performing 2nd stage construction |
|
67 */ |
|
68 void ConstructL(); |
|
69 |
|
70 }; |
|
71 |
|
72 #endif // CMBUFGOBBLERCONNPROVIDERFACTORY_H |