--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/camerauis/cameraxui/cxengine/inc/cxevideorecorderutilitysymbian.h Fri Apr 16 14:51:30 2010 +0300
@@ -0,0 +1,61 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "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:
+*
+* Description:
+*
+*/
+#ifndef CXEVIDEORECORDERUTILITYSYMBIAN_H_
+#define CXEVIDEORECORDERUTILITYSYMBIAN_H_
+
+#include <videorecorder.h>
+#include "cxevideorecorderutility.h"
+
+class CxeVideoRecorderUtilitySymbian : public CxeVideoRecorderUtility
+{
+public:
+
+ CxeVideoRecorderUtilitySymbian(MVideoRecorderUtilityObserver& aObserver,
+ TInt aPriority=EMdaPriorityNormal,
+ TMdaPriorityPreference aPref=EMdaPriorityPreferenceTimeAndQuality);
+
+ ~CxeVideoRecorderUtilitySymbian();
+
+ TInt CustomCommandSync(const TMMFMessageDestinationPckg& aDestination,
+ TInt aFunction,
+ const TDesC8& aDataTo1,
+ const TDesC8& aDataTo2);
+ void OpenFileL(const TDesC& aFileName,
+ TInt aCameraHandle,
+ TUid aControllerUid,
+ TUid aVideoFormat,
+ const TDesC8& aVideoType = KNullDesC8,
+ TFourCC aAudioType = KMMFFourCCCodeNULL);
+ void SetVideoFrameSizeL(TSize aSize);
+ void SetVideoFrameRateL(TInt aRate);
+ void SetVideoBitRateL(TInt aRate);
+ void SetAudioEnabledL(TBool aEnable);
+ void SetMaxClipSizeL(TInt aClipSizeInBytes);
+ void Close();
+ void Prepare();
+ void Record();
+ int Stop();
+ void PauseL();
+ TTimeIntervalMicroSeconds RecordTimeAvailable();
+ TTimeIntervalMicroSeconds DurationL();
+private:
+ CVideoRecorderUtility *mVideoRecorder;
+ int mStartuperror;
+};
+
+
+#endif /*CXEVIDEORECORDERUTILITYSYMBIAN_H_*/