qtinternetradio/irqsystemeventhandler/inc/irsystemeventobserverinterface.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 27 May 2010 12:46:34 +0300
changeset 5 0930554dc389
permissions -rw-r--r--
Revision: 201019 Kit: 2010121

/*
* 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 IRSYSTEMEVENTOBSERVERINTERFACE_H
#define IRSYSTEMEVENTOBSERVERINTERFACE_H

#include <qglobal.h>

class MIRAlarmObserverInterface
{
public:
    virtual void alarmStarted()= 0;    
    virtual void alarmStopped() = 0;
};

 
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;
};

class MIRPropertyObserverInterface
{
public:
    
    virtual void callIsActivated() = 0;
    virtual void callIsDeactivated() = 0;    
    //this function is a general error call back, no matter which propertyChanged, 
    //we will call this to notify the upper layer. 
    virtual void errorCallback(int aError) = 0;
};

class MIRHeadsetObserverInterface
{
public:
    
    virtual void headsetIsConnected() = 0;
    virtual void headsetIsDisconnected() = 0;
};

#endif // IRSYSTEMEVENTOBSERVERINTERFACE_H