videocollection/tsrc/stubs/src/videoservicebrowse.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 14 May 2010 15:53:50 +0300
changeset 20 b9e04db066d4
parent 17 69946d1824c4
child 24 7d93ee07fb27
permissions -rw-r--r--
Revision: 201017 Kit: 201019

/*
* 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:  Implementation of VideoServiceBrowse Stub
*
*/

// Version : %version: 3 %

#include <hbapplication.h>

#include "videoservices.h"
#include "videoservicebrowse.h"
#include "mpxhbvideocommondefs.h"
#include "videoservicebrowsedata.h"

int VideoServiceBrowseData::mBrowseCategory = 0;

/*!
    Constructor.
    \param parent, Pointer to the video services.
*/
VideoServiceBrowse::VideoServiceBrowse(VideoServices* parent)
    : XQServiceProvider( "TestListView" )
    , mRequestIndex( 0 )
    , mServiceApp( parent )
{
    // not stubbed
}

/*!
    Destructor.
*/
VideoServiceBrowse::~VideoServiceBrowse()
{
    // not stubbed
}

/*!
    Complete pending service request.
    \param None.
    \return None.
*/
void VideoServiceBrowse::complete()
{
    // not stubbed
}

/*!
    Get current browsing category.
    \param None.
    \return VideoServices::TVideoCategory.
*/
int VideoServiceBrowse::getBrowseCategory() const
{
    return VideoServiceBrowseData::mBrowseCategory;
}

/*!
    Return context title of videos application.
    \param None.
    \return QString.
*/
QString VideoServiceBrowse::contextTitle() const
{
    // not stubbed
    return QString();
}

/*!
    Browse videos.
    \param title, Title of the embedded Videos application.
    \param category, Category which type of videos are browsed.
    \return None.
*/
void VideoServiceBrowse::browseVideos(const QString &title,
    int category,
    int sortRole)
{
    Q_UNUSED(title);
    Q_UNUSED(category);
    Q_UNUSED(sortRole);
    
    // not stubbed
}

// End of file