|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Implementation of VideoServiceBrowse Stub |
|
15 * |
|
16 */ |
|
17 |
|
18 // Version : %version: 6 % |
|
19 |
|
20 #include <hbapplication.h> |
|
21 |
|
22 #include "xqserviceproviderstub.h" |
|
23 #include "videoservices.h" |
|
24 #include "videoservicebrowse.h" |
|
25 #include "mpxhbvideocommondefs.h" |
|
26 #include "videoservicebrowsedata.h" |
|
27 |
|
28 int VideoServiceBrowseData::mBrowseCategory = 0; |
|
29 |
|
30 /*! |
|
31 Constructor. |
|
32 \param parent, Pointer to the video services. |
|
33 */ |
|
34 VideoServiceBrowse::VideoServiceBrowse(VideoServices* parent, QLatin1String service) |
|
35 : XQServiceProvider( service, parent ) |
|
36 , mRequestIndex( 0 ) |
|
37 , mServiceApp( parent ) |
|
38 { |
|
39 // not stubbed |
|
40 } |
|
41 |
|
42 /*! |
|
43 Destructor. |
|
44 */ |
|
45 VideoServiceBrowse::~VideoServiceBrowse() |
|
46 { |
|
47 // not stubbed |
|
48 } |
|
49 |
|
50 /*! |
|
51 Complete pending service request. |
|
52 \param None. |
|
53 \return None. |
|
54 */ |
|
55 void VideoServiceBrowse::complete() |
|
56 { |
|
57 // not stubbed |
|
58 } |
|
59 |
|
60 /*! |
|
61 Get current browsing category. |
|
62 \param None. |
|
63 \return VideoServices::TVideoCategory. |
|
64 */ |
|
65 int VideoServiceBrowse::getBrowseCategory() const |
|
66 { |
|
67 return VideoServiceBrowseData::mBrowseCategory; |
|
68 } |
|
69 |
|
70 /*! |
|
71 Return context title of videos application. |
|
72 \param None. |
|
73 \return QString. |
|
74 */ |
|
75 QString VideoServiceBrowse::contextTitle() const |
|
76 { |
|
77 // not stubbed |
|
78 return QString(); |
|
79 } |
|
80 |
|
81 /*! |
|
82 Browse videos. |
|
83 \param title, Title of the embedded Videos application. |
|
84 \param category, Category which type of videos are browsed. |
|
85 \return None. |
|
86 */ |
|
87 void VideoServiceBrowse::browseVideos(const QString &title, |
|
88 int category, |
|
89 int sortRole) |
|
90 { |
|
91 Q_UNUSED(title); |
|
92 Q_UNUSED(category); |
|
93 Q_UNUSED(sortRole); |
|
94 |
|
95 // not stubbed |
|
96 } |
|
97 |
|
98 /*! |
|
99 Browse videos. |
|
100 \param category, Category which type of videos are browsed. |
|
101 \return None. |
|
102 */ |
|
103 void VideoServiceBrowse::browseVideos(int category, |
|
104 int sortRole) |
|
105 { |
|
106 Q_UNUSED(category); |
|
107 Q_UNUSED(sortRole); |
|
108 |
|
109 // not stubbed |
|
110 } |
|
111 |
|
112 // End of file |