videocollection/tsrc/stubs/inc/xqaiwrequeststub.h
changeset 67 72c709219fcd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/videocollection/tsrc/stubs/inc/xqaiwrequeststub.h	Fri Oct 15 16:29:10 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 XQAIWREQUEST_H_
+#define XQAIWREQUEST_H_
+
+#include <QObject>
+
+class XQAiwRequest : public QObject
+    {
+    Q_OBJECT
+
+public:
+
+    XQAiwRequest();
+    virtual ~XQAiwRequest();
+
+    static void reset()
+    {
+        mSetArgumentsCallCount = 0;
+        mLastErrorReturnValue = 0;
+        mLastErrorCallCount = 0;
+        mSendCallCount = 0;
+        mSendFails = false;
+        mSetEmbeddedCallCount = 0;        
+    }
+    
+public:
+    
+    void setArguments(const QList<QVariant> &arguments);
+    int lastError() const;
+    bool send();
+    void setEmbedded(bool embedded);
+    
+public:
+
+    static int mSetArgumentsCallCount;
+    static int mLastErrorReturnValue;
+    static int mLastErrorCallCount;
+    static int mSendCallCount;
+    static bool mSendFails;
+    static int mSetEmbeddedCallCount;
+    
+    };
+
+#endif /* XQAIWREQUEST_H_ */