34
|
1 |
/*
|
|
2 |
* Copyright (c) 2010 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 VideoServiceUriFetch
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
39
|
18 |
#include "xqserviceproviderstub.h"
|
34
|
19 |
#include "videoserviceurifetch.h"
|
|
20 |
#include "videoservices.h"
|
|
21 |
|
38
|
22 |
VideoServiceUriFetch::VideoServiceUriFetch(VideoServices* parent, QLatin1String service):
|
|
23 |
XQServiceProvider( service, parent ),
|
34
|
24 |
mRequestIndex(0),
|
|
25 |
mServiceApp(parent)
|
|
26 |
{
|
|
27 |
// nop
|
|
28 |
}
|
|
29 |
|
|
30 |
VideoServiceUriFetch::~VideoServiceUriFetch()
|
|
31 |
{
|
|
32 |
// nop
|
|
33 |
}
|
|
34 |
|
|
35 |
void VideoServiceUriFetch::fetchFailed(int errorCode)
|
|
36 |
{
|
|
37 |
Q_UNUSED(errorCode);
|
|
38 |
// not stubbed
|
|
39 |
}
|
|
40 |
|
|
41 |
void VideoServiceUriFetch::complete(QStringList filesList)
|
|
42 |
{
|
|
43 |
Q_UNUSED(filesList);
|
|
44 |
// not stubbed
|
|
45 |
}
|
|
46 |
|
|
47 |
void VideoServiceUriFetch::doComplete(QStringList filesList)
|
|
48 |
{
|
|
49 |
Q_UNUSED(filesList);
|
|
50 |
// not stubbed
|
|
51 |
}
|
|
52 |
|
|
53 |
bool VideoServiceUriFetch::isActive()
|
|
54 |
{
|
|
55 |
// not stubbed
|
|
56 |
return false;
|
|
57 |
}
|
|
58 |
|
|
59 |
QString VideoServiceUriFetch::contextTitle() const
|
|
60 |
{
|
|
61 |
// not stubbed
|
|
62 |
return QString();
|
|
63 |
}
|
|
64 |
|
38
|
65 |
void VideoServiceUriFetch::fetch()
|
|
66 |
{
|
|
67 |
mServiceApp->setCurrentService(VideoServices::EUriFetcher);
|
|
68 |
}
|
|
69 |
|
34
|
70 |
void VideoServiceUriFetch::fetch(const QString& title)
|
|
71 |
{
|
|
72 |
Q_UNUSED(title);
|
|
73 |
|
|
74 |
mServiceApp->setCurrentService(VideoServices::EUriFetcher);
|
|
75 |
}
|
|
76 |
|
|
77 |
// end of file
|