mpviewplugins/mpdetailsviewplugin/tsrc/unittest_mpmpxdetailsframeworkwrapper/stub/src/mpxplayermanager.cpp
branchGCC_SURGE
changeset 44 eff9df3d9c98
parent 30 b95ddb5a0d10
parent 42 79c49924ae23
equal deleted inserted replaced
30:b95ddb5a0d10 44:eff9df3d9c98
     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: mpxplaybackutility stub for testing mpmpxframeworkwrapper
       
    15 *
       
    16 */
       
    17 
       
    18 #include "stub/inc/mpxplayermanager.h"
       
    19 #include "mptrace.h"
       
    20 
       
    21 MMPXPlayerManager::MMPXPlayerManager()
       
    22 {
       
    23     TX_ENTRY_ARGS("STUB")    
       
    24 }
       
    25 
       
    26 MMPXPlayerManager::~MMPXPlayerManager()
       
    27 {
       
    28     TX_ENTRY_ARGS("STUB")
       
    29 }
       
    30 
       
    31 void MMPXPlayerManager::GetPlayerTypesL(RArray<TMPXPlaybackPlayerType>& aTypes)
       
    32 {
       
    33     TX_ENTRY_ARGS("STUB WARNING! The unit test required to implement this. Currently empty imp")    
       
    34 }
       
    35 
       
    36 HBufC* MMPXPlayerManager::PlayerTypeDisplayNameL(TMPXPlaybackPlayerType aType)
       
    37 {
       
    38     TX_ENTRY_ARGS("STUB WARNING! The unit test required to implement this. Currently empty imp")
       
    39     return 0;
       
    40 }
       
    41 
       
    42 void MMPXPlayerManager::GetPlayerListL(RArray<TUid>& aPlayers)
       
    43 {
       
    44     TX_ENTRY_ARGS("STUB WARNING! The unit test required to implement this. Currently empty imp")    
       
    45 }
       
    46 
       
    47 void MMPXPlayerManager::GetPlayerListL(RArray<TUid>& aPlayers, TMPXPlaybackPlayerType aType)
       
    48 {
       
    49     TX_ENTRY_ARGS("STUB WARNING! The unit test required to implement this. Currently empty imp")    
       
    50 }
       
    51 
       
    52 void MMPXPlayerManager::SubPlayerNamesL(MMPXPlaybackCallback& aCallback, TUid aPlayer)
       
    53 {
       
    54     TX_ENTRY_ARGS("STUB WARNING! The unit test required to implement this. Currently empty imp")    
       
    55 }
       
    56 
       
    57 void MMPXPlayerManager::SelectPlayersL(TMPXPlaybackPlayerType aType)
       
    58 {
       
    59     TX_ENTRY_ARGS("STUB WARNING! The unit test required to implement this. Currently empty imp")    
       
    60 }
       
    61 
       
    62 void MMPXPlayerManager::SelectSubPlayerL(TUid aPlayer, TInt aSubPlayerIndex)
       
    63 {
       
    64     TX_ENTRY_ARGS("STUB WARNING! The unit test required to implement this. Currently empty imp")    
       
    65 }
       
    66 
       
    67 void MMPXPlayerManager::SelectPlayerL(TUid aPlayer)
       
    68 {
       
    69     TX_ENTRY_ARGS("STUB WARNING! The unit test required to implement this. Currently empty imp")    
       
    70 }
       
    71 
       
    72 void MMPXPlayerManager::ClearSelectPlayersL()
       
    73 {
       
    74     TX_ENTRY_ARGS("STUB WARNING! The unit test required to implement this. Currently empty imp")    
       
    75 }
       
    76 
       
    77 void MMPXPlayerManager::GetSelectionL(TMPXPlaybackPlayerType& aType,    
       
    78                    TUid& /*aPlayer*/,
       
    79                    TInt& /*aSubPlayerIndex*/,
       
    80                    HBufC*& /*aSubPlayerName*/)
       
    81 {
       
    82     TX_ENTRY_ARGS("STUB WARNING! The unit test required to implement this. Currently empty imp")    
       
    83 }
       
    84 
       
    85 MMPXPlayer* MMPXPlayerManager::CurrentPlayer()
       
    86 {
       
    87     TX_ENTRY_ARGS("STUB WARNING! The unit test required to implement this. Currently empty imp")
       
    88     return 0;
       
    89 }
       
    90 
       
    91