|
1 /* |
|
2 * Copyright (c) 2005-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: Phonebook 2 Tab group container extension modifier. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CPBK2TABGROUPCONTAINEREXTENSIONMODIFIER_H |
|
20 #define CPBK2TABGROUPCONTAINEREXTENSIONMODIFIER_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32base.h> |
|
24 #include <MPbk2TabGroupContainerCallback.h> |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 class MPbk2AppUiExtension; |
|
28 |
|
29 // CLASS DECLARATION |
|
30 |
|
31 /** |
|
32 * Phonebook 2 Tab group container extension modifier. |
|
33 */ |
|
34 class CPbk2TabGroupContainerExtensionModifier : |
|
35 public CBase, |
|
36 public MPbk2TabGroupContainerCallback |
|
37 { |
|
38 public: // Constructors and destructor |
|
39 /** |
|
40 * Creates a new instance of this class. |
|
41 * |
|
42 * @param aAppUiExtension App UI Extension inteface. |
|
43 */ |
|
44 static CPbk2TabGroupContainerExtensionModifier* NewLC( |
|
45 MPbk2AppUiExtension& aAppUiExtension); |
|
46 |
|
47 /** |
|
48 * Destructor. |
|
49 */ |
|
50 ~CPbk2TabGroupContainerExtensionModifier(); |
|
51 |
|
52 private: // From MPbk2TabGroupContainerCallback |
|
53 void CreateViewNodeTabL( |
|
54 const CPbk2ViewNode& aNode, |
|
55 CAknTabGroup& aAknTabGroup, |
|
56 CPbk2IconInfoContainer& aTabIcons, |
|
57 TInt aViewCount ); |
|
58 |
|
59 private: // Implementation |
|
60 CPbk2TabGroupContainerExtensionModifier( |
|
61 MPbk2AppUiExtension& aAppUiExtension); |
|
62 void ConstructL(); |
|
63 |
|
64 private: // Data |
|
65 ///Ref: Application UI Extension |
|
66 MPbk2AppUiExtension& iAppUiExtension; |
|
67 |
|
68 }; |
|
69 |
|
70 #endif // CPBK2TABGROUPCONTAINEREXTENSIONMODIFIER_H |
|
71 |
|
72 // End of File |