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: The MUS application's UI class. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef MUSUISENDVIEW_H |
|
21 #define MUSUISENDVIEW_H |
|
22 |
|
23 |
|
24 #include "musuigeneralview.h" // Base view class |
|
25 #include "musuisendobserver.h" |
|
26 #include <aknappui.h> |
|
27 |
|
28 class CMusUiSendViewContainer; |
|
29 class CMusUiSendController; |
|
30 |
|
31 /** |
|
32 * The MUS application's share view. |
|
33 * |
|
34 * @lib musui.exe |
|
35 */ |
|
36 class CMusUiSendView : public CMusUiGeneralView, |
|
37 public MMusUiSendObserver |
|
38 { |
|
39 |
|
40 public: // constructors and destructor |
|
41 |
|
42 /** |
|
43 * EPOC default constructor. |
|
44 */ |
|
45 void ConstructL(); |
|
46 |
|
47 /** |
|
48 * Destructor. |
|
49 */ |
|
50 virtual ~CMusUiSendView(); |
|
51 |
|
52 |
|
53 public: // from MMusUiSendObserver |
|
54 |
|
55 virtual void ManualAddressEntryL( const TDesC& aAddress ); |
|
56 |
|
57 public: // from CMusUiGeneralView |
|
58 |
|
59 virtual void DoHandleForegroundEventL( TBool aForeground ); |
|
60 |
|
61 protected: // New functions |
|
62 |
|
63 virtual CMusUiSendController* SendController() const = 0; |
|
64 |
|
65 virtual CMusUiSendViewContainer* SendContainer() const = 0; |
|
66 |
|
67 |
|
68 protected: // from CMusUiGeneralView |
|
69 |
|
70 virtual CMusUiEventController* EventController() const; |
|
71 |
|
72 virtual CMusUiViewContainer& SharingContainer() const; |
|
73 |
|
74 |
|
75 protected: // from base class CAknView |
|
76 |
|
77 /** |
|
78 * Gets called by the framework when it's activating this view. |
|
79 * |
|
80 * @param aPrevViewId Previous view id |
|
81 * @param aCustomMessageId Custom message's id |
|
82 * @param aCustomMessage Custom message |
|
83 */ |
|
84 void DoActivateL( const TVwsViewId& aPrevViewId, |
|
85 TUid aCustomMessageId, |
|
86 const TDesC8& aCustomMessage ); |
|
87 |
|
88 /** |
|
89 * Gets called by the framework when it's deactivating this view. |
|
90 */ |
|
91 void DoDeactivate(); |
|
92 |
|
93 |
|
94 |
|
95 |
|
96 protected: // data |
|
97 |
|
98 CAknAppUiBase::TAppUiOrientation iSavedOrientation; |
|
99 TBool iPauseSelected; |
|
100 |
|
101 }; |
|
102 |
|
103 #endif // MUSUISENDVIEW_H |
|
104 |
|
105 // end of file |
|