|
1 /* |
|
2 * Copyright (c) 2006 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: MPX UPnP browse dialog plugin definition. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef C_CMPXUPNPBROWSEDIALOGPLUGIN_H |
|
21 #define C_CMPXUPNPBROWSEDIALOGPLUGIN_H |
|
22 |
|
23 |
|
24 // INCLUDES |
|
25 #include <mpxakndialogplugin.h> |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 class MMPXViewUtility; |
|
29 |
|
30 // CLASS DECLARATION |
|
31 |
|
32 /** |
|
33 * MPX Visualization menu dialog plugin definition. |
|
34 * |
|
35 * @lib mpxvisualizationmenudialogplugin.lib |
|
36 * @since S60 v3.0 |
|
37 */ |
|
38 NONSHARABLE_CLASS( CMPXUPnPBrowseDialogPlugin ) : public CMPXAknDialogPlugin |
|
39 { |
|
40 public: |
|
41 |
|
42 /** |
|
43 * Two-phased constructor. |
|
44 * |
|
45 * @since 3.0 |
|
46 * @return Pointer to newly created object. |
|
47 */ |
|
48 static CMPXUPnPBrowseDialogPlugin* NewL(); |
|
49 |
|
50 /** |
|
51 * Destructor. |
|
52 */ |
|
53 virtual ~CMPXUPnPBrowseDialogPlugin(); |
|
54 |
|
55 private: // Functions from base class |
|
56 |
|
57 /** |
|
58 * From CMPXAknDialogPlugin |
|
59 * Construct Avkon dialog. |
|
60 * |
|
61 * @since S60 v3.0 |
|
62 * @return Pointer to a newly created Avkon dialog. |
|
63 */ |
|
64 CAknDialog* ConstructDialogL(); |
|
65 |
|
66 /** |
|
67 * From CMPXAknDialogPlugin |
|
68 * Resource Id of the dialog |
|
69 * |
|
70 * @since S60 v3.0 |
|
71 * @return Dialog resource ID |
|
72 */ |
|
73 TInt ResourceId(); |
|
74 |
|
75 /** |
|
76 * From CMPXViewPlugin |
|
77 * Interface method to activate view. |
|
78 * |
|
79 * @since S60 v3.0 |
|
80 * @param aParam Parameter required to activate the view. |
|
81 */ |
|
82 void ActivateViewL( const TDesC* aParam = NULL ); |
|
83 |
|
84 private: |
|
85 |
|
86 /** |
|
87 * C++ default constructor. |
|
88 */ |
|
89 CMPXUPnPBrowseDialogPlugin(); |
|
90 |
|
91 /** |
|
92 * By default Symbian 2nd phase constructor is private. |
|
93 */ |
|
94 void ConstructL(); |
|
95 |
|
96 private: //data |
|
97 MMPXViewUtility* iViewUtility; |
|
98 TInt iPlayerUid; |
|
99 }; |
|
100 |
|
101 #endif // C_CMPXUPNPBROWSEDIALOGPLUGIN_H |
|
102 |
|
103 // End of File |