diff -r 000000000000 -r 951a5db380a0 videditor/SimpleVideoEditor/inc/SimpleVideoEditor.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/videditor/SimpleVideoEditor/inc/SimpleVideoEditor.h Fri Jan 29 14:08:33 2010 +0200 @@ -0,0 +1,88 @@ +/* +* Copyright (c) 2010 Ixonos Plc. +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - Initial contribution +* +* Contributors: +* Ixonos Plc +* +* Description: +* Declares Base service API for all providers to implement in order to +* offer services to Application Interworking Framework. +* +*/ + + +#ifndef _SIMPLEVIDEOEDITOR_H_ +#define _SIMPLEVIDEOEDITOR_H_ + +// +#include +#include "SimpleVideoEditorExitObserver.h" + +// FORWARD DECLARATIONS +class CSimpleVideoEditorImpl; + +// CLASS DECLARATION +NONSHARABLE_CLASS(CSimpleVideoEditor) : public CBase + { + public: // Constructor and destructor + + IMPORT_C static CSimpleVideoEditor* NewL( MSimpleVideoEditorExitObserver& aExitObserver ); + IMPORT_C ~CSimpleVideoEditor(); + + public: // New functions + + /** + * Merges the source video clip with another video or image. + * + * @param aSourceFileName - The input video clip + * @return - + */ + IMPORT_C void Merge( const TDesC& aSourceFileName ); + + /** + * Adds sound track to the source video clip. + * Removes the original sound track. + * + * @param aSourceFileName - The input video clip + * @return - + */ + IMPORT_C void ChangeAudio( const TDesC& aSourceFileName ); + + /** + * Adds text to the source video clip. + * + * @param aSourceFileName - The input video clip + * @return - + */ + IMPORT_C void AddText( const TDesC& aSourceFileName ); + + /** + * Cancels ongoing processing. + * + * @param - + * @return - + */ + IMPORT_C void Cancel(); + + private: // Construct + + CSimpleVideoEditor(); + void ConstructL( MSimpleVideoEditorExitObserver& aExitObserver ); + + private: // Data + + CSimpleVideoEditorImpl* iImpl; + }; + +// +#endif + +// End of file