|
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 the License "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: My Videos Video Details Dialog.* |
|
15 */ |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 #ifndef VCXHGMYVIDEOSVIDEODETAILS_H_ |
|
21 #define VCXHGMYVIDEOSVIDEODETAILS_H_ |
|
22 |
|
23 |
|
24 #include <mpxmedia.h> |
|
25 |
|
26 NONSHARABLE_CLASS ( CVcxHgMyVideosVideoDetailsDialog ) : public CBase |
|
27 { |
|
28 public:// Constructors and destructor |
|
29 |
|
30 /** |
|
31 * Two-phased constructor. |
|
32 */ |
|
33 static CVcxHgMyVideosVideoDetailsDialog* NewL(); |
|
34 |
|
35 /** |
|
36 * C+ destructor |
|
37 */ |
|
38 virtual ~CVcxHgMyVideosVideoDetailsDialog(); |
|
39 |
|
40 public: |
|
41 |
|
42 /** |
|
43 * Provides the static function for the callback to show file details. |
|
44 * Called by CIdle iDetailsAo. |
|
45 * |
|
46 * @param aPtr Pointer to callback class |
|
47 */ |
|
48 static TInt ShowDetailsL( TAny* aPtr ); |
|
49 |
|
50 |
|
51 public: |
|
52 |
|
53 /** |
|
54 * Displays video details dialog. |
|
55 * |
|
56 * @param aMedia MPX media object that contains video details. |
|
57 */ |
|
58 void ShowVideoDetailsDialogL( const CMPXMedia& aMedia ); |
|
59 |
|
60 private: |
|
61 |
|
62 /** |
|
63 * Default C++ constructor. By default it is private |
|
64 */ |
|
65 CVcxHgMyVideosVideoDetailsDialog(); |
|
66 |
|
67 /** |
|
68 * Symbian 2nd phase constructor. |
|
69 */ |
|
70 void ConstructL(); |
|
71 |
|
72 /* |
|
73 * Activates an active object to display details. |
|
74 */ |
|
75 void ActivateDetailsActiveObject(); |
|
76 |
|
77 /* |
|
78 * Called to display file details. |
|
79 */ |
|
80 void DoShowDetailsL(); |
|
81 |
|
82 /* |
|
83 * Pointer to MPX media for which details are displayed. Own. |
|
84 */ |
|
85 CMPXMedia* iDetailsMedia; |
|
86 |
|
87 /* |
|
88 * Active object to cut call stack and display details. Own. |
|
89 */ |
|
90 CIdle* iDetailsAo; |
|
91 |
|
92 }; |
|
93 |
|
94 #endif /*VCXHGMYVIDEOSVIDEODETAILS_H_*/ |