|
1 /* |
|
2 * Copyright (c) 2002-2006 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: It provides interface to retrieve phonebook instance in |
|
15 * the PhoneCntFinder subsystem. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef CPHONECNTPBKOWNER_H |
|
21 #define CPHONECNTPBKOWNER_H |
|
22 |
|
23 // INCLUDES |
|
24 #include "MPhoneCntPbkOwner.h" |
|
25 |
|
26 class CPhCntContactManager; |
|
27 |
|
28 // CLASS DECLARATION |
|
29 |
|
30 /** |
|
31 * It's the phonebook owner. |
|
32 * |
|
33 * @lib PhoneCntFinder |
|
34 * @since 1.0 |
|
35 */ |
|
36 NONSHARABLE_CLASS( CPhoneCntPbkOwner ) |
|
37 : public MPhoneCntPbkOwner |
|
38 { |
|
39 public: // Constructors and destructor |
|
40 |
|
41 /** |
|
42 * Two-phased constructor. |
|
43 * @return New instance |
|
44 */ |
|
45 static CPhoneCntPbkOwner* NewL(); |
|
46 |
|
47 /** |
|
48 * Destructor. |
|
49 */ |
|
50 virtual ~CPhoneCntPbkOwner(); |
|
51 |
|
52 public: // Functions from base classes |
|
53 |
|
54 /** |
|
55 * From MPhoneCntPbkOwner |
|
56 */ |
|
57 CPhCntContactManager* ContactManager() const; |
|
58 |
|
59 private: |
|
60 |
|
61 /** |
|
62 * C++ constructor. |
|
63 */ |
|
64 CPhoneCntPbkOwner(); |
|
65 |
|
66 /** |
|
67 * Symbian OS constructor. |
|
68 */ |
|
69 void ConstructL(); |
|
70 |
|
71 private: // Data |
|
72 |
|
73 // Contact manager. |
|
74 CPhCntContactManager* iContactManager; |
|
75 }; |
|
76 |
|
77 #endif // CPHONECNTPBKOWNER_H |
|
78 |
|
79 // End of File |