videocollection/tsrc/stubs/src/videoserviceurifetch.cpp
author hgs
Thu, 08 Jul 2010 13:05:19 +0300
changeset 44 518105d52e45
parent 39 f6d44a0cd476
permissions -rw-r--r--
201027
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
34
hgs
parents:
diff changeset
     1
/*
hgs
parents:
diff changeset
     2
 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
hgs
parents:
diff changeset
     3
 * All rights reserved.
hgs
parents:
diff changeset
     4
 * This component and the accompanying materials are made available
hgs
parents:
diff changeset
     5
 * under the terms of "Eclipse Public License v1.0"
hgs
parents:
diff changeset
     6
 * which accompanies this distribution, and is available
hgs
parents:
diff changeset
     7
 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
hgs
parents:
diff changeset
     8
 *
hgs
parents:
diff changeset
     9
 * Initial Contributors:
hgs
parents:
diff changeset
    10
 * Nokia Corporation - initial contribution.
hgs
parents:
diff changeset
    11
 *
hgs
parents:
diff changeset
    12
 * Contributors:
hgs
parents:
diff changeset
    13
 *
hgs
parents:
diff changeset
    14
 * Description:  Implementation of VideoServiceUriFetch
hgs
parents:
diff changeset
    15
 *
hgs
parents:
diff changeset
    16
 */
hgs
parents:
diff changeset
    17
39
hgs
parents: 38
diff changeset
    18
#include "xqserviceproviderstub.h"
34
hgs
parents:
diff changeset
    19
#include "videoserviceurifetch.h"
hgs
parents:
diff changeset
    20
#include "videoservices.h"
hgs
parents:
diff changeset
    21
38
hgs
parents: 34
diff changeset
    22
VideoServiceUriFetch::VideoServiceUriFetch(VideoServices* parent, QLatin1String service):
hgs
parents: 34
diff changeset
    23
    XQServiceProvider( service, parent ),
34
hgs
parents:
diff changeset
    24
    mRequestIndex(0),
hgs
parents:
diff changeset
    25
    mServiceApp(parent)
hgs
parents:
diff changeset
    26
{
hgs
parents:
diff changeset
    27
    // nop    
hgs
parents:
diff changeset
    28
}
hgs
parents:
diff changeset
    29
hgs
parents:
diff changeset
    30
VideoServiceUriFetch::~VideoServiceUriFetch()
hgs
parents:
diff changeset
    31
{
hgs
parents:
diff changeset
    32
    // nop
hgs
parents:
diff changeset
    33
}
hgs
parents:
diff changeset
    34
hgs
parents:
diff changeset
    35
void VideoServiceUriFetch::fetchFailed(int errorCode)
hgs
parents:
diff changeset
    36
{
hgs
parents:
diff changeset
    37
    Q_UNUSED(errorCode);
hgs
parents:
diff changeset
    38
    // not stubbed
hgs
parents:
diff changeset
    39
}
hgs
parents:
diff changeset
    40
hgs
parents:
diff changeset
    41
void VideoServiceUriFetch::complete(QStringList filesList)
hgs
parents:
diff changeset
    42
{
hgs
parents:
diff changeset
    43
    Q_UNUSED(filesList);
hgs
parents:
diff changeset
    44
    // not stubbed
hgs
parents:
diff changeset
    45
}
hgs
parents:
diff changeset
    46
hgs
parents:
diff changeset
    47
void VideoServiceUriFetch::doComplete(QStringList filesList)
hgs
parents:
diff changeset
    48
{
hgs
parents:
diff changeset
    49
    Q_UNUSED(filesList);
hgs
parents:
diff changeset
    50
    // not stubbed
hgs
parents:
diff changeset
    51
}
hgs
parents:
diff changeset
    52
hgs
parents:
diff changeset
    53
bool VideoServiceUriFetch::isActive()
hgs
parents:
diff changeset
    54
{
hgs
parents:
diff changeset
    55
    // not stubbed
hgs
parents:
diff changeset
    56
    return false;
hgs
parents:
diff changeset
    57
}
hgs
parents:
diff changeset
    58
hgs
parents:
diff changeset
    59
QString VideoServiceUriFetch::contextTitle() const
hgs
parents:
diff changeset
    60
{
hgs
parents:
diff changeset
    61
    // not stubbed
hgs
parents:
diff changeset
    62
    return QString();
hgs
parents:
diff changeset
    63
}
hgs
parents:
diff changeset
    64
38
hgs
parents: 34
diff changeset
    65
void VideoServiceUriFetch::fetch()
hgs
parents: 34
diff changeset
    66
{
hgs
parents: 34
diff changeset
    67
    mServiceApp->setCurrentService(VideoServices::EUriFetcher);
hgs
parents: 34
diff changeset
    68
}
hgs
parents: 34
diff changeset
    69
34
hgs
parents:
diff changeset
    70
void VideoServiceUriFetch::fetch(const QString& title)
hgs
parents:
diff changeset
    71
{
hgs
parents:
diff changeset
    72
    Q_UNUSED(title);
hgs
parents:
diff changeset
    73
    
hgs
parents:
diff changeset
    74
    mServiceApp->setCurrentService(VideoServices::EUriFetcher);
hgs
parents:
diff changeset
    75
}
hgs
parents:
diff changeset
    76
hgs
parents:
diff changeset
    77
// end of file