diff -r 61bc0f252b2b -r bac7acad7cb3 camerauis/cameraxui/cxengine/inc/cxediskmonitorprivate.h --- a/camerauis/cameraxui/cxengine/inc/cxediskmonitorprivate.h Tue Aug 31 15:03:46 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,65 +0,0 @@ -/* -* 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 CXEDISKMONITORPRIVATE_H -#define CXEDISKMONITORPRIVATE_H - -#include -#include -#ifdef Q_OS_SYMBIAN -#include -#endif // Q_OS_SYMBIAN - -class CxeSettings; - -class CxeDiskMonitorPrivate : public QObject -{ - Q_OBJECT - -private: - explicit CxeDiskMonitorPrivate(CxeSettings &settings); - ~CxeDiskMonitorPrivate(); - -signals: - void diskSpaceLow(); - void diskSpaceChanged(); - -private slots: - void checkSpace(); - -private: - void setLowWarningLevel(qint64 bytes); - void start(); - void stop(); - bool isMonitoring() const; - qint64 free(bool cached = true) const; - -private: - CxeSettings &mSettings; - QTimer mTimer; -#ifdef Q_OS_SYMBIAN - RFs& mFs; - int mCameraDrive; -#endif // Q_OS_SYMBIAN - qint64 mTriggerLevelBytes; - qint64 mLatestFreeBytes; - - friend class CxeDiskMonitor; -}; - - -#endif // CXEDISKMONITORPRIVATE_H