phoneengine/networkhandlingstarter/tsrc/mocks/mock_psetcontainer.cpp
changeset 64 6aaf0276100e
equal deleted inserted replaced
56:5bcb308bd24d 64:6aaf0276100e
       
     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:
       
    15 *
       
    16 */
       
    17 #include <smcmockclassincludes.h>
       
    18 #include <mmtsy_names.h>
       
    19 #include <mpsetdivertobs.h>
       
    20 #include "PsetContainer.h"
       
    21 
       
    22 // ============================ MEMBER FUNCTIONS ===============================
       
    23 
       
    24 // -----------------------------------------------------------------------------
       
    25 // CPsetContainer::ConstructL
       
    26 // -----------------------------------------------------------------------------
       
    27 //
       
    28 void CPsetContainer::ConstructL(  )
       
    29     {
       
    30     
       
    31     }
       
    32 
       
    33 
       
    34 // -----------------------------------------------------------------------------
       
    35 // CPsetContainer::NewL
       
    36 // -----------------------------------------------------------------------------
       
    37 //
       
    38 CPsetContainer * CPsetContainer::NewL(  )
       
    39     {
       
    40     SMC_MOCK_NEWL0( CPsetContainer * )
       
    41 
       
    42     CPsetContainer* self = new( ELeave ) CPsetContainer;
       
    43     CleanupStack::PushL( self );
       
    44     //self->ConstructL()
       
    45     CleanupStack::Pop( self );
       
    46     return self;
       
    47     }
       
    48 
       
    49 
       
    50 // -----------------------------------------------------------------------------
       
    51 // CPsetContainer::~CPsetContainer
       
    52 // -----------------------------------------------------------------------------
       
    53 //
       
    54 CPsetContainer::~CPsetContainer(  )
       
    55     {
       
    56     
       
    57     }
       
    58 
       
    59 
       
    60 // -----------------------------------------------------------------------------
       
    61 // CPsetContainer::CreateCWObjectL
       
    62 // -----------------------------------------------------------------------------
       
    63 //
       
    64 CPsetCallWaiting * CPsetContainer::CreateCWObjectL( 
       
    65         MPsetCallWaitingObserver & aObserver )
       
    66     {
       
    67     SMC_MOCK_METHOD1( CPsetCallWaiting *, MPsetCallWaitingObserver &, aObserver )
       
    68     }
       
    69 
       
    70 
       
    71 // -----------------------------------------------------------------------------
       
    72 // CPsetContainer::CreateCFObjectL
       
    73 // -----------------------------------------------------------------------------
       
    74 //
       
    75 CPsetCallDiverting * CPsetContainer::CreateCFObjectL( 
       
    76         MPsetDivertObserver & aObserver )
       
    77     {
       
    78     SMC_MOCK_METHOD1( CPsetCallDiverting *, MPsetDivertObserver &, aObserver )
       
    79     }
       
    80 
       
    81 
       
    82 // -----------------------------------------------------------------------------
       
    83 // CPsetContainer::CreateCliObjectL
       
    84 // -----------------------------------------------------------------------------
       
    85 //
       
    86 CPsetCli * CPsetContainer::CreateCliObjectL( 
       
    87         MPsetCliObserver & aObserver )
       
    88     {
       
    89     SMC_MOCK_METHOD1( CPsetCli *, MPsetCliObserver &, aObserver )
       
    90     }
       
    91 
       
    92 
       
    93 // -----------------------------------------------------------------------------
       
    94 // CPsetContainer::CreateCBObjectL
       
    95 // -----------------------------------------------------------------------------
       
    96 //
       
    97 CPsetCallBarring * CPsetContainer::CreateCBObjectL( 
       
    98         MPsetBarringObserver & aObserver )
       
    99     {
       
   100     SMC_MOCK_METHOD1( CPsetCallBarring *, MPsetBarringObserver &, aObserver )
       
   101     }
       
   102 
       
   103 
       
   104 // -----------------------------------------------------------------------------
       
   105 // CPsetContainer::CreateNetworkObjectL
       
   106 // -----------------------------------------------------------------------------
       
   107 //
       
   108 CPsetNetwork * CPsetContainer::CreateNetworkObjectL( 
       
   109         MPsetNetworkInfoObserver & aObserver )
       
   110     {
       
   111     SMC_MOCK_METHOD1( CPsetNetwork *, MPsetNetworkInfoObserver &, aObserver )
       
   112     }
       
   113 
       
   114 
       
   115 // -----------------------------------------------------------------------------
       
   116 // CPsetContainer::CreateRefreshHandlerL
       
   117 // -----------------------------------------------------------------------------
       
   118 //
       
   119 CPSetRefreshHandler * CPsetContainer::CreateRefreshHandlerL(  )
       
   120     {
       
   121     SMC_MOCK_METHOD0( CPSetRefreshHandler * )
       
   122     }
       
   123 
       
   124 
       
   125 // -----------------------------------------------------------------------------
       
   126 // CPsetContainer::CreateNetworkModeObjectL
       
   127 // -----------------------------------------------------------------------------
       
   128 //
       
   129 CPsetNetwork * CPsetContainer::CreateNetworkModeObjectL( 
       
   130         MPsetNetworkModeObserver & aModeObserver )
       
   131     {
       
   132     SMC_MOCK_METHOD1( CPsetNetwork *, MPsetNetworkModeObserver &, aModeObserver )
       
   133     }
       
   134 
       
   135