diff -r 8b2d6d0384b0 -r d9aefe59d544 camerauis/cameraxui/cxengine/inc/cxesysutil.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/camerauis/cameraxui/cxengine/inc/cxesysutil.h Fri Apr 16 14:51:30 2010 +0300 @@ -0,0 +1,45 @@ +/* +* 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 CXESYSUTIL_H +#define CXESYSUTIL_H + +#include + +class RFs; +class CxeSettings; + + +/** + * Helper class for file system queries. + */ +class CxeSysUtil + { + +public: + + static TBool DiskSpaceBelowCriticalLevel( + RFs* aFs, + TInt aBytesToWrite, + TInt aDrive ); + + static int getCameraDrive(RFs &fs); + + static qint64 spaceAvailable(RFs &fs, CxeSettings &settings); + }; + +#endif // CXESYSUTIL_H