1 /* |
|
2 * Copyright (c) 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: Definition for MediaServant browse view class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 #ifndef C_MSBROWSEVIEW_H |
|
23 #define C_MSBROWSEVIEW_H |
|
24 |
|
25 // INCLUDES |
|
26 #include "msbaseview.h" |
|
27 |
|
28 // FORWARD DECLARATIONS |
|
29 class CMSAppUi; |
|
30 class CMSBrowseContainer; |
|
31 |
|
32 /** |
|
33 * CMSBrowseView view class. Main view is visible when |
|
34 * application is launched |
|
35 * |
|
36 * @since S60 5.1 |
|
37 */ |
|
38 NONSHARABLE_CLASS( CMSBrowseView ): public CMSBaseView |
|
39 { |
|
40 public: |
|
41 /** |
|
42 * Constructor. |
|
43 */ |
|
44 CMSBrowseView( CMSAppUi& aAppUi ); |
|
45 |
|
46 /** |
|
47 * Symbian default constructor. |
|
48 */ |
|
49 void ConstructL(); |
|
50 |
|
51 /** |
|
52 * Destructor. |
|
53 */ |
|
54 virtual ~CMSBrowseView(); |
|
55 |
|
56 /** |
|
57 * Solves title pane text by media type |
|
58 * @since S60 3.2 |
|
59 * @param aMediaType, mediatype |
|
60 */ |
|
61 void SetTitlePaneTextL( TCmMediaType aMediaType ); |
|
62 |
|
63 protected: |
|
64 |
|
65 // From base class CAknView |
|
66 |
|
67 /** |
|
68 * From CAknView returns Uid of View |
|
69 * See base class definition |
|
70 */ |
|
71 TUid Id() const; |
|
72 |
|
73 /** |
|
74 * From CAknView |
|
75 * See base class definition |
|
76 */ |
|
77 void DoActivateL( const TVwsViewId& aPrevViewId, |
|
78 TUid aCustomMessageId, |
|
79 const TDesC8& aCustomMessage ); |
|
80 |
|
81 /** |
|
82 * From CAknView |
|
83 * See base class definition |
|
84 */ |
|
85 void DoDeactivate(); |
|
86 |
|
87 // From base class MEikMenuObserver |
|
88 |
|
89 /** |
|
90 * From MEikMenuObserver |
|
91 * See base class definition |
|
92 */ |
|
93 void HandleCommandL( TInt aCommand ); |
|
94 |
|
95 private: |
|
96 |
|
97 /** |
|
98 * pointer to AppUi object |
|
99 */ |
|
100 CMSAppUi* iAppUi; // not owned |
|
101 |
|
102 /** |
|
103 * view's container |
|
104 */ |
|
105 CMSBrowseContainer* iContainer; // owned |
|
106 }; |
|
107 |
|
108 #endif // C_MSBROWSEVIEW_H |
|
109 |
|
110 |
|
111 // End of File |
|