camerauis/cameraxui/cxengine/tsrc/unit/unittest_cxediskmonitor/cxesysutil.h
author hgs
Thu, 15 Jul 2010 01:53:45 +0300
changeset 42 feebad15db8c
child 45 24fd82631616
permissions -rw-r--r--
201027_1

/*
* Copyright (c) 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: Stub class for testing purposes
*
*/

#ifndef CXESYSUTIL_H
#define CXESYSUTIL_H

#include <e32base.h>
#include <QObject>

class RFs;
class CxeSettings;

class CxeSysUtil
    {

public:

    static TBool DiskSpaceBelowCriticalLevel(
        RFs* aFs,
        TInt aBytesToWrite,
        TInt aDrive);

    static qint64 spaceAvailable(RFs &fs, int index, CxeSettings &settings);
    static void setSpaceAvailable(qint64 aSpaceAvailable);
    
    static int getCameraDrive(RFs &fs);

public:
    static qint64 mSpaceAvailable;
    };

#endif // CXESYSUTIL_H