1 /* |
|
2 * Copyright (c) 2005 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: Encryption view. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __DEVENCUI_ENCRVIEW_H__ |
|
19 #define __DEVENCUI_ENCRVIEW_H__ |
|
20 |
|
21 //INCLUDES |
|
22 |
|
23 // System includes |
|
24 #include <aknview.h> |
|
25 |
|
26 //User Includes |
|
27 #include "DevEncUiDocument.h" |
|
28 |
|
29 // FORWARD DECLARATIONS |
|
30 class CDevEncUiEncrViewContainer; |
|
31 class CDevEncUiEncryptionOperator; |
|
32 class CDevEncUiMemoryEntity; |
|
33 |
|
34 class CDevEncUiEncrView: public CAknView |
|
35 { |
|
36 public: // constructors and destructor |
|
37 static CDevEncUiEncrView* NewL( RArray<CDevEncUiMemoryEntity*>& aMemEntities ); |
|
38 static CDevEncUiEncrView* NewLC( RArray<CDevEncUiMemoryEntity*>& aMemEntities ); |
|
39 CDevEncUiEncrViewContainer* Container(); |
|
40 ~CDevEncUiEncrView(); |
|
41 CDevEncUiAppUi& GetAppUi(); |
|
42 |
|
43 private: // from CAknView |
|
44 TUid Id() const; |
|
45 void HandleCommandL( TInt aCommand ); |
|
46 CDevEncUiEncrView( RArray<CDevEncUiMemoryEntity*>& aMemEntities ); |
|
47 |
|
48 void DoActivateL( const TVwsViewId& aPrevViewId, |
|
49 TUid aCustomMessageId, |
|
50 const TDesC8& aCustomMessage ); |
|
51 |
|
52 void DoDeactivate(); |
|
53 |
|
54 private: // constructors |
|
55 void ConstructL(); |
|
56 |
|
57 protected: |
|
58 /** |
|
59 * HandleStatusPaneSizeChange. |
|
60 * Called by the framework when the application status pane |
|
61 * size is changed. |
|
62 */ |
|
63 void HandleStatusPaneSizeChange(); |
|
64 |
|
65 private: // data |
|
66 /** Owned. What this view will display */ |
|
67 CDevEncUiEncrViewContainer* iContainer; |
|
68 TUid iId; |
|
69 |
|
70 /** Not owned */ |
|
71 RArray<CDevEncUiMemoryEntity*>& iMemEntities; |
|
72 }; |
|
73 |
|
74 #endif // __DEVENCUI_ENCRVIEW_H__ |
|
75 |
|
76 // End of File |
|