|
1 /* |
|
2 * Copyright (c) 2002-2007 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: A bookmark for folding contact |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef TVPBKFOLDINGCONTACTBOOKMARK_H |
|
21 #define TVPBKFOLDINGCONTACTBOOKMARK_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <MVPbkContactBookmark.h> |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 class CVPbkFoldingViewContact; |
|
28 |
|
29 // CLASS DECLARATION |
|
30 |
|
31 /** |
|
32 * A bookmark for folding contact |
|
33 * |
|
34 */ |
|
35 NONSHARABLE_CLASS(TVPbkFoldingContactBookmark) : public MVPbkContactBookmark |
|
36 { |
|
37 public: // Constructors and destructor |
|
38 |
|
39 /** |
|
40 * C++ constructor. |
|
41 * @param aContact contact which bookmark is needed |
|
42 */ |
|
43 inline TVPbkFoldingContactBookmark(const CVPbkFoldingViewContact& aContact); |
|
44 |
|
45 public: // New functions |
|
46 |
|
47 /** |
|
48 * Returns the reference to the folding contact. |
|
49 * @return the reference to the folding contact. |
|
50 */ |
|
51 inline const CVPbkFoldingViewContact& Contact() const; |
|
52 |
|
53 private: // Data |
|
54 const CVPbkFoldingViewContact& iContact; |
|
55 }; |
|
56 |
|
57 inline TVPbkFoldingContactBookmark::TVPbkFoldingContactBookmark( |
|
58 const CVPbkFoldingViewContact& aContact) : |
|
59 iContact(aContact) |
|
60 { |
|
61 } |
|
62 |
|
63 inline const CVPbkFoldingViewContact& TVPbkFoldingContactBookmark::Contact() const |
|
64 { |
|
65 return iContact; |
|
66 } |
|
67 |
|
68 #endif // TVPBKFOLDINGCONTACTBOOKMARK_H |
|
69 |
|
70 // End of File |