--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/videocollection/tsrc/videoservicestestapp/inc/videoservicestestappview.h Fri Jun 11 13:39:54 2010 +0300
@@ -0,0 +1,63 @@
+/*
+* 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 VIDEOSERVICESTESTAPPVIEW_H_
+#define VIDEOSERVICESTESTAPPVIEW_H_
+
+#include <hbview.h>
+#include <xqappmgr.h>
+
+class XQApplicationManager;
+class XQAiwRequest;
+class HbLineEdit;
+
+class VideoServicesTestAppView : public HbView
+{
+ Q_OBJECT
+
+public:
+ VideoServicesTestAppView(QGraphicsItem *parent=0);
+ virtual ~VideoServicesTestAppView();
+
+private slots:
+ void handleOk(const QVariant &result);
+ void handleError(int errorCode, const QString& errorMessage);
+
+ void fetchVideo();
+ void fetchVideoDeprecatedOldService();
+ void fetchVideoDeprecatedNewService();
+ void browseCapturedVideos();
+ void browseCapturedVideosDeprecatedOldService();
+ void browseCapturedVideosDeprecatedNewService();
+
+public slots:
+
+ void browseCapturedVideosFinished(HbAction *action);
+ void browseCapturedVideosDeprecatedOldServiceFinished(HbAction *action);
+ void browseCapturedVideosDeprecatedNewServiceFinished(HbAction *action);
+
+private:
+ void createLayout();
+
+private:
+ XQApplicationManager mAppMgr;
+ XQAiwRequest* mReq;
+ HbLineEdit* mResultEdit;
+ HbLineEdit* mErrorCodeEdit;
+ HbLineEdit* mErrorEdit;
+};
+
+#endif /* VIDEOSERVICESTESTAPPVIEW_H_ */