camerauis/cameraxui/cxengine/inc/cxesysutil.h
branchRCL_3
changeset 54 bac7acad7cb3
parent 53 61bc0f252b2b
child 57 2c87b2808fd7
equal deleted inserted replaced
53:61bc0f252b2b 54:bac7acad7cb3
     1 /*
       
     2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CXESYSUTIL_H
       
    19 #define CXESYSUTIL_H
       
    20 
       
    21 #include <e32base.h>
       
    22 
       
    23 class RFs;
       
    24 class CxeSettings;
       
    25 
       
    26 
       
    27 /**
       
    28  *  Helper class for file system queries.
       
    29  */
       
    30 class CxeSysUtil
       
    31     {
       
    32 
       
    33 public:
       
    34 
       
    35     static bool DiskSpaceBelowCriticalLevel(
       
    36         RFs* aFs,
       
    37         TInt aBytesToWrite,
       
    38         TInt aDrive );
       
    39 
       
    40     static int getCameraDrive(RFs &fs);
       
    41 
       
    42     static qint64 spaceAvailable(RFs &fs, int index, CxeSettings &settings);
       
    43     };
       
    44 
       
    45 #endif // CXESYSUTIL_H