1 /* |
1 /* |
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
13 * |
13 * |
14 * Description: Container for MPX Video File Details |
14 * Description: Container for MPX Video File Details |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // Version : %version: e003sa33#11 % |
|
19 |
18 |
20 |
19 // Version : %version: 12 % |
21 |
20 |
22 |
21 |
23 #ifndef __MPXVIDEOPLAYBACKVIEWFILEDETAILS__ |
22 #ifndef __MPXVIDEOPLAYBACKVIEWFILEDETAILS__ |
24 #define __MPXVIDEOPLAYBACKVIEWFILEDETAILS__ |
23 #define __MPXVIDEOPLAYBACKVIEWFILEDETAILS__ |
25 |
24 |
26 #include "mpxhelixplaybackplugindefs.h" |
25 #include "mpxhelixplaybackplugindefs.h" |
27 // |
26 |
|
27 // |
28 // CLASS DECLARATION |
28 // CLASS DECLARATION |
29 // |
29 // |
30 NONSHARABLE_CLASS( CMPXVideoPlaybackViewFileDetails ) : public CBase |
30 NONSHARABLE_CLASS( CMPXVideoPlaybackViewFileDetails ) : public CBase |
31 { |
31 { |
32 public: |
32 public: |
33 // |
33 // |
34 // Constructors and destructor |
34 // Constructors and destructor |
35 // |
35 // |
36 static CMPXVideoPlaybackViewFileDetails* NewL(); |
36 static CMPXVideoPlaybackViewFileDetails* NewL(); |
37 |
37 |
38 // |
38 // |
39 // Destructor. |
39 // Destructor. |
40 // |
40 // |
41 virtual ~CMPXVideoPlaybackViewFileDetails(); |
41 virtual ~CMPXVideoPlaybackViewFileDetails(); |
42 |
42 |
43 // |
43 // |
44 // Clear all file details |
44 // Clear all file details |
45 // |
45 // |
46 void ClearFileDetails(); |
46 void ClearFileDetails(); |
47 |
47 |
48 /** |
48 /** |
49 * Generate file name, remove all file path |
49 * Generate file name, remove all file path |
50 * |
50 * |
51 * @return generated file name, ownership is transferred |
51 * @return generated file name, ownership is transferred |
52 */ |
52 */ |
53 IMPORT_C HBufC* GenerateFileNameL(); |
53 IMPORT_C HBufC* GenerateFileNameL(); |
54 |
54 |
55 private: |
55 private: |
56 // |
56 // |
57 // By default Symbian 2nd phase constructor is private. |
57 // By default Symbian 2nd phase constructor is private. |
58 // |
58 // |
59 void ConstructL(); |
59 void ConstructL(); |
60 |
60 |
61 public: |
61 public: |
62 // |
62 // |
63 // Data |
63 // Data |
64 // |
64 // |
65 HBufC* iClipName; |
65 HBufC* iClipName; |
66 HBufC* iTitle; |
66 HBufC* iTitle; |