equal
deleted
inserted
replaced
|
1 // Copyright (c) 2008-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 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @internalComponent |
|
19 */ |
|
20 #ifndef RMTPPROXYDPSINGLETONS_H |
|
21 #define RMTPPROXYDPSINGLETONS_H |
|
22 |
|
23 #include <e32base.h> |
|
24 class CMTPProxyDpConfigMgr; |
|
25 class MMTPDataProviderFramework; |
|
26 |
|
27 class RMTPProxyDpSingletons |
|
28 { |
|
29 public: |
|
30 RMTPProxyDpSingletons(); |
|
31 |
|
32 void OpenL(MMTPDataProviderFramework& aFramework); |
|
33 void Close(); |
|
34 |
|
35 CMTPProxyDpConfigMgr& FrameworkConfig(); |
|
36 |
|
37 private: |
|
38 |
|
39 /** |
|
40 Implements the singletons reference block. |
|
41 */ |
|
42 class CSingletons : public CObject |
|
43 { |
|
44 public: |
|
45 |
|
46 static CSingletons& OpenL(MMTPDataProviderFramework& aFramework); |
|
47 void Close(); |
|
48 |
|
49 private: |
|
50 static CSingletons* NewL(MMTPDataProviderFramework& aFramework); |
|
51 virtual ~CSingletons(); |
|
52 void ConstructL(MMTPDataProviderFramework& aFramework); |
|
53 |
|
54 public: // Owned |
|
55 |
|
56 /** |
|
57 The file config manager. |
|
58 */ |
|
59 CMTPProxyDpConfigMgr* iConfigMgr; |
|
60 }; |
|
61 |
|
62 private: // Owned |
|
63 |
|
64 /** |
|
65 The singletons reference block. |
|
66 */ |
|
67 CSingletons* iSingletons; |
|
68 }; |
|
69 |
|
70 #endif |