20
|
1 |
/*
|
|
2 |
* Copyright (c) 2009 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 |
#ifndef LAUNCHERVIEWAPPS_H
|
|
20 |
#define LAUNCHERVIEWAPPS_H
|
|
21 |
|
|
22 |
// INCLUDES
|
|
23 |
#include <aknview.h>
|
|
24 |
|
|
25 |
#include "launcherengine.h"
|
|
26 |
|
|
27 |
// CONSTANTS
|
|
28 |
// UID of view
|
|
29 |
const TUid KViewId = {1};
|
|
30 |
|
|
31 |
// FORWARD DECLARATIONS
|
|
32 |
class CLauncherContainerApps;
|
|
33 |
|
|
34 |
// CLASS DECLARATION
|
|
35 |
|
|
36 |
/**
|
|
37 |
* CLauncherViewApps view class.
|
|
38 |
*
|
|
39 |
*/
|
|
40 |
class CLauncherViewApps : public CAknView
|
|
41 |
{
|
|
42 |
public: // Constructors and destructor
|
|
43 |
|
|
44 |
/**
|
|
45 |
* EPOC default constructor.
|
|
46 |
*/
|
|
47 |
void ConstructL(CLauncherEngine* aEngine);
|
|
48 |
|
|
49 |
/**
|
|
50 |
* Destructor.
|
|
51 |
*/
|
|
52 |
~CLauncherViewApps();
|
|
53 |
|
|
54 |
public: // Functions from base classes
|
|
55 |
|
|
56 |
/**
|
|
57 |
* From ?base_class ?member_description
|
|
58 |
*/
|
|
59 |
TUid Id() const;
|
|
60 |
|
|
61 |
/**
|
|
62 |
* From ?base_class ?member_description
|
|
63 |
*/
|
|
64 |
void HandleCommandL(TInt aCommand);
|
|
65 |
|
|
66 |
/**
|
|
67 |
* From ?base_class ?member_description
|
|
68 |
*/
|
|
69 |
void HandleClientRectChange();
|
|
70 |
|
|
71 |
private:
|
|
72 |
|
|
73 |
void DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane);
|
|
74 |
|
|
75 |
/**
|
|
76 |
* From AknView, ?member_description
|
|
77 |
*/
|
|
78 |
void DoActivateL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId,
|
|
79 |
const TDesC8& aCustomMessage);
|
|
80 |
|
|
81 |
/**
|
|
82 |
* From AknView, ?member_description
|
|
83 |
*/
|
|
84 |
void DoDeactivate();
|
|
85 |
|
|
86 |
private: // Data
|
|
87 |
CLauncherContainerApps* iContainer;
|
|
88 |
};
|
|
89 |
|
|
90 |
#endif
|
|
91 |
|
|
92 |
// End of File
|