diff -r f54ad444594d -r 61bc0f252b2b camerauis/cameraxui/cxengine/tsrc/unit/unittest_cxeimagedataitemsymbian/cxeimagedataitemunit.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/camerauis/cameraxui/cxengine/tsrc/unit/unittest_cxeimagedataitemsymbian/cxeimagedataitemunit.h Tue Aug 31 15:03:46 2010 +0300 @@ -0,0 +1,46 @@ +/* +* Copyright (c) 2009-2010 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 CXEIMAGEDATAITEMUNIT_H +#define CXEIMAGEDATAITEMUNIT_H + +// Include Files + +#include "cxeimagedataitemsymbian.h" + + +class CxeImageDataItemSymbian; +class RFs; + + +/** + * Camera device control class for unit testing. Identical to + * CxeCameraDeviceControlSymbian except for that CxeFakeCameraDevice is used + * instead of the real implementation. + */ +class CxeImageDataItemUnit : public CxeImageDataItemSymbian +{ + Q_OBJECT +public: + + CxeImageDataItemUnit(int index, QByteArray data, QString filename, bool addLocation); + virtual ~CxeImageDataItemUnit(); + bool checkDiskSpace(RFs* aFs, + TInt aBytesToWrite, + TInt aDrive); +}; + +#endif // CXEFAKECAMERADEVICECONTROL_H