|
1 /* |
|
2 * Copyright (c) 2010 Ixonos Plc. |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the "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 * Ixonos Plc |
|
14 * |
|
15 * Description: |
|
16 * Declares Base service API for all providers to implement in order to |
|
17 * offer services to Application Interworking Framework. |
|
18 * |
|
19 */ |
|
20 |
|
21 |
|
22 #ifndef _SIMPLEVIDEOEDITOR_H_ |
|
23 #define _SIMPLEVIDEOEDITOR_H_ |
|
24 |
|
25 //<IBUDSW> |
|
26 #include <e32base.h> |
|
27 #include "SimpleVideoEditorExitObserver.h" |
|
28 |
|
29 // FORWARD DECLARATIONS |
|
30 class CSimpleVideoEditorImpl; |
|
31 |
|
32 // CLASS DECLARATION |
|
33 NONSHARABLE_CLASS(CSimpleVideoEditor) : public CBase |
|
34 { |
|
35 public: // Constructor and destructor |
|
36 |
|
37 IMPORT_C static CSimpleVideoEditor* NewL( MSimpleVideoEditorExitObserver& aExitObserver ); |
|
38 IMPORT_C ~CSimpleVideoEditor(); |
|
39 |
|
40 public: // New functions |
|
41 |
|
42 /** |
|
43 * Merges the source video clip with another video or image. |
|
44 * |
|
45 * @param aSourceFileName - The input video clip |
|
46 * @return - |
|
47 */ |
|
48 IMPORT_C void Merge( const TDesC& aSourceFileName ); |
|
49 |
|
50 /** |
|
51 * Adds sound track to the source video clip. |
|
52 * Removes the original sound track. |
|
53 * |
|
54 * @param aSourceFileName - The input video clip |
|
55 * @return - |
|
56 */ |
|
57 IMPORT_C void ChangeAudio( const TDesC& aSourceFileName ); |
|
58 |
|
59 /** |
|
60 * Adds text to the source video clip. |
|
61 * |
|
62 * @param aSourceFileName - The input video clip |
|
63 * @return - |
|
64 */ |
|
65 IMPORT_C void AddText( const TDesC& aSourceFileName ); |
|
66 |
|
67 /** |
|
68 * Cancels ongoing processing. |
|
69 * |
|
70 * @param - |
|
71 * @return - |
|
72 */ |
|
73 IMPORT_C void Cancel(); |
|
74 |
|
75 private: // Construct |
|
76 |
|
77 CSimpleVideoEditor(); |
|
78 void ConstructL( MSimpleVideoEditorExitObserver& aExitObserver ); |
|
79 |
|
80 private: // Data |
|
81 |
|
82 CSimpleVideoEditorImpl* iImpl; |
|
83 }; |
|
84 |
|
85 //</IBUDSW> |
|
86 #endif |
|
87 |
|
88 // End of file |