messagingapp/msgnotifications/msgerrornotifier/inc/msgerrornotifiersvc.h
branchRCL_3
changeset 26 ebe688cedc25
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/messagingapp/msgnotifications/msgerrornotifier/inc/msgerrornotifiersvc.h	Tue Aug 31 15:11:31 2010 +0300
@@ -0,0 +1,60 @@
+/*
+ * 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_ */