qtinternetradio/irqsystemeventhandler/inc/irdiskspaceobserverinterface.h
changeset 3 ee64f059b8e1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/qtinternetradio/irqsystemeventhandler/inc/irdiskspaceobserverinterface.h	Fri May 14 15:43:29 2010 +0300
@@ -0,0 +1,40 @@
+/*
+* 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:  Disk space observer, information about low disk space.
+*
+*/
+
+
+#ifndef IRDISKSPACEOBSERVERINTERFACE_H_
+#define IRDISKSPACEOBSERVERINTERFACE_H_
+
+#include <QtGlobal>
+
+/**
+ *  Observer of low disk space 
+ *
+ *  Observer which is interested low disk space situations. 
+ */
+class MIRDiskSpaceObserverInterface
+{
+public:
+
+    /**
+     * notifyLowDiskSpace Called when the observed disk's free disk space is
+     * less than the critical level.
+     */
+    virtual void notifyLowDiskSpace(qint64 aCriticalLevel) = 0;
+};
+
+#endif // IRDiskSpaceObserverInterface_H_