phoneengine/parserrecognizer/inc/parserrecognizer.h
changeset 30 ebdbd102c78a
parent 21 92ab7f8d0eab
--- a/phoneengine/parserrecognizer/inc/parserrecognizer.h	Mon May 03 12:31:11 2010 +0300
+++ b/phoneengine/parserrecognizer/inc/parserrecognizer.h	Fri May 14 15:51:57 2010 +0300
@@ -1,5 +1,5 @@
 /*!
-* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
+* Copyright (c) 2009-2010 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"
@@ -11,15 +11,15 @@
 *
 * Contributors:
 *
-* Description:  Recognizes the parser messages that needs to be notified to the world
-*               using QtHighway.
-*
+* Description:  Recognizes the parser messages that needs to be notified to 
+*               the world using QtHighway.
 */
 
 #ifndef PARSERRECOGNIZER_H
 #define PARSERRECOGNIZER_H
 
 #include <QObject>
+#include <xqservicerequest.h>
 
 #ifdef BUILD_PARSERRECOGNIZER
 #define PARSERRECOGNIZER_EXPORT Q_DECL_EXPORT
@@ -30,6 +30,7 @@
 class PARSERRECOGNIZER_EXPORT ParserRecognizer : public QObject
 {
     Q_OBJECT
+
 public:
     ParserRecognizer(QObject *parent = 0);
     ~ParserRecognizer();
@@ -42,7 +43,13 @@
         QtHighway. If message isn't recognized it doesn't do anything.
     */
     void sendMessage(const int message, const int callId);
+
+private slots:
+    void requestCompleted(const QVariant &returnValue);
+    void requestError(int error);
     
+private:
+    XQServiceRequest *m_currentRequest;
 };
 
 #endif // PARSERRECOGNIZER_H