videocollection/videocollectionwrapper/tsrc/testvideocollectionclient/stub/src/mpxcollectionpath.cpp
changeset 15 cf5481c2bc0b
equal deleted inserted replaced
2:dec420019252 15:cf5481c2bc0b
       
     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: stub CMPXCollectionPath for testing CVideoCollectionClient
       
    15 * 
       
    16 */
       
    17 
       
    18 #include "stub/inc/mpxcollectionpath.h"
       
    19 
       
    20 int gPatheLevels = 3;
       
    21 
       
    22 // -----------------------------------------------------------------------------
       
    23 // NewL
       
    24 // -----------------------------------------------------------------------------
       
    25 //
       
    26 CMPXCollectionPath* CMPXCollectionPath::NewL()
       
    27 {
       
    28     CMPXCollectionPath *path = new CMPXCollectionPath();
       
    29     return path;
       
    30 }
       
    31 
       
    32 // -----------------------------------------------------------------------------
       
    33 // CMPXCollectionPath
       
    34 // -----------------------------------------------------------------------------
       
    35 //
       
    36 CMPXCollectionPath::CMPXCollectionPath()
       
    37 {
       
    38     
       
    39 }
       
    40 
       
    41 // -----------------------------------------------------------------------------
       
    42 // ~CMPXCollectionPath
       
    43 // -----------------------------------------------------------------------------
       
    44 //
       
    45 CMPXCollectionPath::~CMPXCollectionPath()
       
    46 {
       
    47     
       
    48 }
       
    49 
       
    50 // -----------------------------------------------------------------------------
       
    51 // Levels
       
    52 // -----------------------------------------------------------------------------
       
    53 //
       
    54 TInt CMPXCollectionPath::Levels() const
       
    55 {
       
    56     return gPatheLevels;
       
    57 }
       
    58 
       
    59 // -----------------------------------------------------------------------------
       
    60 // AppendL
       
    61 // -----------------------------------------------------------------------------
       
    62 //
       
    63 void CMPXCollectionPath::AppendL(const TArray<TMPXItemId>& /*aIds*/)
       
    64 {
       
    65 
       
    66 }
       
    67 
       
    68 // -----------------------------------------------------------------------------
       
    69 // AppendL
       
    70 // -----------------------------------------------------------------------------
       
    71 //
       
    72 void CMPXCollectionPath::AppendL(const TMPXItemId& /*aId*/)
       
    73 {
       
    74     
       
    75 }
       
    76 // -----------------------------------------------------------------------------
       
    77 // SelectL
       
    78 // -----------------------------------------------------------------------------
       
    79 //
       
    80 void CMPXCollectionPath::SelectL(const TMPXItemId& /*aId*/)
       
    81 {
       
    82     
       
    83 }
       
    84 
       
    85 void CMPXCollectionPath::setLevel(int level)
       
    86 {
       
    87 	gPatheLevels = level;
       
    88 }