phonesettings/cpphonesettingsplugins/tsrc/mocks/mock_psetcliwrapper_p.cpp
changeset 64 6aaf0276100e
parent 56 5bcb308bd24d
child 67 f6dff55cb5cd
child 72 c76a0b1755b9
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 <QObject>
       
    18 #include <rsssettings.h>
       
    19 #include <psetcontainer.h>
       
    20 #include <psetcli.h>
       
    21 #include <psuiconstants.h>
       
    22 #include <smcmockclassincludes.h>
       
    23 #include "psetcliwrapper_p.h"
       
    24 
       
    25 // ============================ MEMBER FUNCTIONS ===============================
       
    26 
       
    27 // -----------------------------------------------------------------------------
       
    28 // PSetCliWrapperPrivate::PSetCliWrapperPrivate
       
    29 // -----------------------------------------------------------------------------
       
    30 //
       
    31 PSetCliWrapperPrivate::PSetCliWrapperPrivate( 
       
    32         PSetCliWrapper & owner )
       
    33     : m_Owner(owner)
       
    34     {
       
    35     
       
    36     }
       
    37 
       
    38 
       
    39 // -----------------------------------------------------------------------------
       
    40 // PSetCliWrapperPrivate::~PSetCliWrapperPrivate
       
    41 // -----------------------------------------------------------------------------
       
    42 //
       
    43 PSetCliWrapperPrivate::~PSetCliWrapperPrivate(  )
       
    44     {
       
    45     
       
    46     }
       
    47 
       
    48 
       
    49 // -----------------------------------------------------------------------------
       
    50 // PSetCliWrapperPrivate::SetEngineContact
       
    51 // -----------------------------------------------------------------------------
       
    52 //
       
    53 void PSetCliWrapperPrivate::SetEngineContact( 
       
    54         MPsetCli * aEngine )
       
    55     {
       
    56     SMC_MOCK_METHOD1( void, MPsetCli *, aEngine )
       
    57     }
       
    58 
       
    59 
       
    60 // -----------------------------------------------------------------------------
       
    61 // PSetCliWrapperPrivate::HandleCliRequestingL
       
    62 // -----------------------------------------------------------------------------
       
    63 //
       
    64 void PSetCliWrapperPrivate::HandleCliRequestingL( 
       
    65         TBool aOngoing,
       
    66         TBool aInterrupted )
       
    67     {
       
    68     SMC_MOCK_METHOD2( void, TBool, aOngoing, 
       
    69         TBool, aInterrupted )
       
    70     }
       
    71 
       
    72 
       
    73 // -----------------------------------------------------------------------------
       
    74 // PSetCliWrapperPrivate::CliInformationL
       
    75 // -----------------------------------------------------------------------------
       
    76 //
       
    77 void PSetCliWrapperPrivate::CliInformationL( 
       
    78         TPsuiCli aType )
       
    79     {
       
    80     SMC_MOCK_METHOD1( void, TPsuiCli, aType )
       
    81     }
       
    82 
       
    83 
       
    84 // -----------------------------------------------------------------------------
       
    85 // PSetCliWrapperPrivate::HandleCliStatusL
       
    86 // -----------------------------------------------------------------------------
       
    87 //
       
    88 void PSetCliWrapperPrivate::HandleCliStatusL( 
       
    89         TUint8 aBsc[KPSetNumberOfBsc],
       
    90         TPsuiCli aMode )
       
    91     {
       
    92     // TODO: make compile
       
    93     Q_UNUSED(aBsc)
       
    94     Q_UNUSED(aMode)
       
    95     //SMC_MOCK_METHOD2( void, TUint8[KPSetNumberOfBsc], aBsc, TPsuiCli, aMode )
       
    96     }
       
    97 
       
    98 
       
    99 // -----------------------------------------------------------------------------
       
   100 // PSetCliWrapperPrivate::HandleCnapStatusL
       
   101 // -----------------------------------------------------------------------------
       
   102 //
       
   103 void PSetCliWrapperPrivate::HandleCnapStatusL( 
       
   104         TInt aStatus )
       
   105     {
       
   106     SMC_MOCK_METHOD1( void, TInt, aStatus )
       
   107     }
       
   108 
       
   109 
       
   110 // -----------------------------------------------------------------------------
       
   111 // PSetCliWrapperPrivate::HandleCliErrorL
       
   112 // -----------------------------------------------------------------------------
       
   113 //
       
   114 void PSetCliWrapperPrivate::HandleCliErrorL( 
       
   115         TInt aError )
       
   116     {
       
   117     SMC_MOCK_METHOD1( void, TInt, aError )
       
   118     }
       
   119 
       
   120