messagingapp/msgnotifications/msgnotificationdialogplugin/inc/msgnotificationdialogwidget.h
changeset 25 84d9eb65b26f
parent 23 238255e8b033
child 47 5b14749788d7
child 67 fc91263aee62
--- a/messagingapp/msgnotifications/msgnotificationdialogplugin/inc/msgnotificationdialogwidget.h	Fri Apr 16 14:56:15 2010 +0300
+++ b/messagingapp/msgnotifications/msgnotificationdialogplugin/inc/msgnotificationdialogwidget.h	Mon May 03 12:29:07 2010 +0300
@@ -20,12 +20,37 @@
 
 #include <QObject>
 #include <QVariantMap>
-
-
+#include <QRunnable>
 #include <hbdevicedialoginterface.h>
 #include <hbdevicedialog.h>
 #include <hbnotificationdialog.h>
 
+
+/**
+ * Class for sending service request
+ */
+class ServiceRequestSenderTask : public QRunnable
+{
+public:
+    /**
+     * Constructor
+     */
+    ServiceRequestSenderTask(qint64 conversationId);
+    
+    /**
+     * Destructor
+     */
+    ~ServiceRequestSenderTask();
+     
+    /**
+     * create and send service request
+     */
+     void run();
+
+private: 
+     qint64 mConvId;
+};
+
 /**
  * Message notification widget class. 
  * Widget shown for the new message notifications.