camerauis/cameraxui/cxengine/tsrc/unit/unittest_cxediskmonitor/cxesysutil.h
changeset 48 42ba2d16bf40
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/camerauis/cameraxui/cxengine/tsrc/unit/unittest_cxediskmonitor/cxesysutil.h	Wed Aug 18 09:37:18 2010 +0300
@@ -0,0 +1,46 @@
+/*
+* 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 bool 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