diff -r 229f037ce963 -r 17f382c040b1 videocollection/videocollectionwrapper/tsrc/testvideocollectionclient/stub/src/mpxcollectionpath.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/videocollection/videocollectionwrapper/tsrc/testvideocollectionclient/stub/src/mpxcollectionpath.cpp Fri Jul 02 17:14:33 2010 +0300 @@ -0,0 +1,88 @@ +/** +* 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: stub CMPXCollectionPath for testing CVideoCollectionClient +* +*/ + +#include "stub/inc/mpxcollectionpath.h" + +int gPatheLevels = 3; + +// ----------------------------------------------------------------------------- +// NewL +// ----------------------------------------------------------------------------- +// +CMPXCollectionPath* CMPXCollectionPath::NewL() +{ + CMPXCollectionPath *path = new CMPXCollectionPath(); + return path; +} + +// ----------------------------------------------------------------------------- +// CMPXCollectionPath +// ----------------------------------------------------------------------------- +// +CMPXCollectionPath::CMPXCollectionPath() +{ + +} + +// ----------------------------------------------------------------------------- +// ~CMPXCollectionPath +// ----------------------------------------------------------------------------- +// +CMPXCollectionPath::~CMPXCollectionPath() +{ + +} + +// ----------------------------------------------------------------------------- +// Levels +// ----------------------------------------------------------------------------- +// +TInt CMPXCollectionPath::Levels() const +{ + return gPatheLevels; +} + +// ----------------------------------------------------------------------------- +// AppendL +// ----------------------------------------------------------------------------- +// +void CMPXCollectionPath::AppendL(const TArray& /*aIds*/) +{ + +} + +// ----------------------------------------------------------------------------- +// AppendL +// ----------------------------------------------------------------------------- +// +void CMPXCollectionPath::AppendL(const TMPXItemId& /*aId*/) +{ + +} +// ----------------------------------------------------------------------------- +// SelectL +// ----------------------------------------------------------------------------- +// +void CMPXCollectionPath::SelectL(const TMPXItemId& /*aId*/) +{ + +} + +void CMPXCollectionPath::setLevel(int level) +{ + gPatheLevels = level; +}