messagingapp/msgnotifications/msgerrornotifier/inc/msgerrornotifiersvc.h
branchRCL_3
changeset 57 ebe688cedc25
equal deleted inserted replaced
54:fa1df4b99609 57:ebe688cedc25
       
     1 /*
       
     2  * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description:
       
    15  *
       
    16  */
       
    17 #ifndef MSGERRORNOTIFIERSVC_H_
       
    18 #define MSGERRORNOTIFIERSVC_H_
       
    19 
       
    20 #include <QObject>
       
    21 #include <xqserviceprovider.h>
       
    22 #include <qvariant.h>
       
    23 
       
    24 //Forward Declaration
       
    25 class XQSystemToneService;
       
    26 
       
    27 class MsgErrorNotifierSvc: public XQServiceProvider
       
    28 {
       
    29 
       
    30 Q_OBJECT
       
    31 
       
    32 public:
       
    33     /**
       
    34      * constructor
       
    35      */
       
    36     MsgErrorNotifierSvc(QObject* parent = 0);
       
    37 
       
    38     /**
       
    39      * destructor
       
    40      */
       
    41     virtual ~MsgErrorNotifierSvc();
       
    42 
       
    43 public slots:
       
    44 
       
    45     /**
       
    46      * The service slot for displaying the error note.
       
    47      * @param displayParams QVariantList with contact name
       
    48      * and conversation id.
       
    49      */
       
    50     void displayErrorNote(QVariantList displayParams);
       
    51 
       
    52 private:
       
    53     
       
    54     /**
       
    55      * Object to handle audio alerts
       
    56      */
       
    57     XQSystemToneService* mSts;
       
    58 };
       
    59 
       
    60 #endif /* MSGERRORNOTIFIERSVC_H_ */