|
1 /* |
|
2 * Copyright (c) 2007-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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef C_HNMDUNDEFKEY_H |
|
21 #define C_HNMDUNDEFKEY_H |
|
22 |
|
23 #include <e32base.h> |
|
24 |
|
25 #include "hnmdbasekey.h" |
|
26 |
|
27 /** |
|
28 * Defines key which has undefined type. |
|
29 * |
|
30 * @lib hierarchynavigatorengine |
|
31 * @since S60 v5.0 |
|
32 * @ingroup group_hnutilities |
|
33 */ |
|
34 NONSHARABLE_CLASS( CHnMdUndefKey ) : public CHnMdBaseKey |
|
35 { |
|
36 friend class HnMdKeyFactory; |
|
37 |
|
38 public: |
|
39 |
|
40 /** |
|
41 * Standard factory function. |
|
42 * |
|
43 * @return Fully constructed object. |
|
44 */ |
|
45 static CHnMdUndefKey* NewL(); |
|
46 |
|
47 /** |
|
48 * Standard factory function. |
|
49 * |
|
50 * @return Fully constructed object. |
|
51 */ |
|
52 static CHnMdUndefKey* NewLC(); |
|
53 |
|
54 /** |
|
55 * Standard factory method. |
|
56 * |
|
57 * @param aKey Reference key. |
|
58 * @return Fully constructed object. |
|
59 */ |
|
60 static CHnMdUndefKey* NewL( const CHnMdUndefKey* aKey ); |
|
61 |
|
62 /** |
|
63 * Instance copy method. |
|
64 * |
|
65 * since S60 v5.0 |
|
66 * @param aKey Reference key. |
|
67 * @return Fully constructed object. |
|
68 */ |
|
69 static CHnMdUndefKey* NewLC( const CHnMdUndefKey* aKey ); |
|
70 |
|
71 /** |
|
72 * Instance copy method. |
|
73 * |
|
74 * since S60 v5.0 |
|
75 * @return Fully constructed object. |
|
76 */ |
|
77 virtual CHnMdBaseKey* CopyLC(); |
|
78 |
|
79 /** |
|
80 * Standard destructor. |
|
81 */ |
|
82 virtual ~CHnMdUndefKey(); |
|
83 |
|
84 protected: |
|
85 |
|
86 /** |
|
87 * Standard constructor. |
|
88 * |
|
89 * @since S60 v5.0 |
|
90 */ |
|
91 CHnMdUndefKey(); |
|
92 |
|
93 /** |
|
94 * Symbian constructor for performing 2nd stage construction. |
|
95 * |
|
96 * @since S60 v5.0 |
|
97 */ |
|
98 void ConstructL(); |
|
99 |
|
100 /** |
|
101 * Symbian constructor for performing 2nd stage construction. |
|
102 * |
|
103 * @since S60 v5.0 |
|
104 * @param aKey Reference key. |
|
105 */ |
|
106 void ConstructL( const CHnMdUndefKey* aKey ); |
|
107 }; |
|
108 |
|
109 #endif // C_HNMDUNDEFKEY_H |