messagingapp/msgnotifications/msgerrornotifier/inc/msgerrornotifiersvc.h
author hgs
Fri, 25 Jun 2010 15:47:40 +0530
changeset 37 518b245aa84c
parent 25 84d9eb65b26f
child 62 fdbe8253b596
permissions -rw-r--r--
201025

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

#include <QObject>
#include <xqserviceprovider.h>
#include <qvariant.h>

//Forward Declaration
class XQSystemToneService;

class MsgErrorNotifierSvc: public XQServiceProvider
{

Q_OBJECT

public:
    /**
     * constructor
     */
    MsgErrorNotifierSvc(QObject* parent = 0);

    /**
     * destructor
     */
    virtual ~MsgErrorNotifierSvc();

public slots:

    /**
     * The service slot for displaying the error note.
     * @param displayParams QVariantList with contact name
     * and conversation id.
     */
    void displayErrorNote(QVariantList displayParams);

private:
    
    /**
     * Object to handle audio alerts
     */
    XQSystemToneService* mSts;
};

#endif /* MSGERRORNOTIFIERSVC_H_ */