videditor/SimpleVideoEditor/src/SimpleVideoEditor.cpp
changeset 0 951a5db380a0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/videditor/SimpleVideoEditor/src/SimpleVideoEditor.cpp	Fri Jan 29 14:08:33 2010 +0200
@@ -0,0 +1,83 @@
+/*
+* 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: 
+* Class implementation.
+*
+*/
+
+
+// INCLUDES
+#include "VideoEditorCommon.h"
+#include "SimpleVideoEditor.h"
+#include "SimpleVideoEditorImpl.h"
+#include "VideoEditorDebugUtils.h"
+
+
+// MEMBER FUNCTIONS
+
+//=============================================================================
+EXPORT_C CSimpleVideoEditor* CSimpleVideoEditor::NewL( MSimpleVideoEditorExitObserver& aExitObserver )
+	{
+	CSimpleVideoEditor* self = new (ELeave)	CSimpleVideoEditor();
+	CleanupStack::PushL (self);
+	self->ConstructL( aExitObserver );
+	CleanupStack::Pop (self);
+	return self;
+	}
+
+//=============================================================================
+EXPORT_C CSimpleVideoEditor::~CSimpleVideoEditor()
+	{
+	delete iImpl;
+	}
+
+//=============================================================================
+EXPORT_C void CSimpleVideoEditor::Merge( const TDesC& aSourceFileName )
+	{
+	iImpl->StartMerge(aSourceFileName);
+	} 
+
+//=============================================================================
+EXPORT_C void CSimpleVideoEditor::ChangeAudio( const TDesC& aSourceFileName )
+	{
+	iImpl->StartChangeAudio(aSourceFileName);
+	}
+
+//=============================================================================
+EXPORT_C void CSimpleVideoEditor::AddText( const TDesC& aSourceFileName )
+	{
+	iImpl->StartAddText(aSourceFileName);
+	}
+
+//=============================================================================
+EXPORT_C void CSimpleVideoEditor::Cancel()
+	{
+	iImpl->CancelMovieProcessing();
+	}
+
+//=============================================================================
+void CSimpleVideoEditor::ConstructL(MSimpleVideoEditorExitObserver& aExitObserver)
+	{
+	iImpl = CSimpleVideoEditorImpl::NewL(aExitObserver);
+	}
+
+//=============================================================================
+CSimpleVideoEditor::CSimpleVideoEditor() 
+	{
+	}
+
+
+	
+// End of file