cellular/telephonysettings/xqbindings/psetwrapper/tsrc/mocks/mock_psetcsp.cpp
branchRCL_3
changeset 20 987c9837762f
parent 19 7d48bed6ce0c
child 21 0a6dd2dc9970
equal deleted inserted replaced
19:7d48bed6ce0c 20:987c9837762f
     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 <QDebug>
       
    18 #include <smcmockclassincludes.h>
       
    19 #include <psetcsp.h>
       
    20 
       
    21 // ============================ MEMBER FUNCTIONS ===============================
       
    22 
       
    23 // -----------------------------------------------------------------------------
       
    24 // CPsetCustomerServiceProfile::NewL
       
    25 // -----------------------------------------------------------------------------
       
    26 //
       
    27 CPsetCustomerServiceProfile * CPsetCustomerServiceProfile::NewL(  )
       
    28     {
       
    29     SMC_MOCK_NEWL0( CPsetCustomerServiceProfile * )
       
    30 
       
    31     CPsetCustomerServiceProfile* self = new( ELeave ) CPsetCustomerServiceProfile;
       
    32     CleanupStack::PushL( self );
       
    33     //self->ConstructL()
       
    34     CleanupStack::Pop( self );
       
    35     return self;
       
    36     }
       
    37 
       
    38 
       
    39 // -----------------------------------------------------------------------------
       
    40 // CPsetCustomerServiceProfile::~CPsetCustomerServiceProfile
       
    41 // -----------------------------------------------------------------------------
       
    42 //
       
    43 CPsetCustomerServiceProfile::~CPsetCustomerServiceProfile(  )
       
    44     {
       
    45     
       
    46     }
       
    47 
       
    48 
       
    49 // -----------------------------------------------------------------------------
       
    50 // CPsetCustomerServiceProfile::IsCWSupported
       
    51 // -----------------------------------------------------------------------------
       
    52 //
       
    53 TInt CPsetCustomerServiceProfile::IsCWSupported( 
       
    54         TBool & aSupport )
       
    55     {
       
    56     SMC_MOCK_METHOD1( TInt, TBool &, aSupport )
       
    57     }
       
    58 
       
    59 
       
    60 // -----------------------------------------------------------------------------
       
    61 // CPsetCustomerServiceProfile::IsCBSupported
       
    62 // -----------------------------------------------------------------------------
       
    63 //
       
    64 TInt CPsetCustomerServiceProfile::IsCBSupported( 
       
    65         TBool & aSupport )
       
    66     {
       
    67     SMC_MOCK_METHOD1( TInt, TBool &, aSupport )
       
    68     }
       
    69 
       
    70 
       
    71 // -----------------------------------------------------------------------------
       
    72 // CPsetCustomerServiceProfile::IsCFSupported
       
    73 // -----------------------------------------------------------------------------
       
    74 //
       
    75 TInt CPsetCustomerServiceProfile::IsCFSupported( 
       
    76         TBool & aSupport )
       
    77     {
       
    78     SMC_MOCK_METHOD1( TInt, TBool &, aSupport )
       
    79     }
       
    80 
       
    81 
       
    82 // -----------------------------------------------------------------------------
       
    83 // CPsetCustomerServiceProfile::IsALSSupported
       
    84 // -----------------------------------------------------------------------------
       
    85 //
       
    86 TInt CPsetCustomerServiceProfile::IsALSSupported( 
       
    87         TBool & aSupport )
       
    88     {
       
    89     SMC_MOCK_METHOD1( TInt, TBool &, aSupport )
       
    90     }
       
    91 
       
    92 
       
    93 // -----------------------------------------------------------------------------
       
    94 // CPsetCustomerServiceProfile::OpenCSProfileL
       
    95 // -----------------------------------------------------------------------------
       
    96 //
       
    97 TInt CPsetCustomerServiceProfile::OpenCSProfileL(  )
       
    98     {
       
    99     SMC_MOCK_METHOD0( TInt )
       
   100     }
       
   101 
       
   102 
       
   103 // -----------------------------------------------------------------------------
       
   104 // CPsetCustomerServiceProfile::IsNetworkSelectionSupported
       
   105 // -----------------------------------------------------------------------------
       
   106 //
       
   107 TInt CPsetCustomerServiceProfile::IsNetworkSelectionSupported( 
       
   108         TBool & aSupport )
       
   109     {
       
   110     SMC_MOCK_METHOD1( TInt, TBool &, aSupport )
       
   111     }
       
   112 
       
   113 
       
   114 // -----------------------------------------------------------------------------
       
   115 // CPsetCustomerServiceProfile::CheckIfCWSupported
       
   116 // -----------------------------------------------------------------------------
       
   117 //
       
   118 TBool CPsetCustomerServiceProfile::CheckIfCWSupported( 
       
   119         const RMobilePhone::TCspCallCompletion aContainer ) const
       
   120     {
       
   121     SMC_MOCK_METHOD1( TBool, const RMobilePhone::TCspCallCompletion, aContainer )
       
   122     }
       
   123 
       
   124 
       
   125 // -----------------------------------------------------------------------------
       
   126 // CPsetCustomerServiceProfile::CheckIfCBSupported
       
   127 // -----------------------------------------------------------------------------
       
   128 //
       
   129 TBool CPsetCustomerServiceProfile::CheckIfCBSupported( 
       
   130         const RMobilePhone::TCspCallRestriction aContainer ) const
       
   131     {
       
   132     SMC_MOCK_METHOD1( TBool, const RMobilePhone::TCspCallRestriction, aContainer )
       
   133     }
       
   134 
       
   135 
       
   136 // -----------------------------------------------------------------------------
       
   137 // CPsetCustomerServiceProfile::CheckIfCFSupported
       
   138 // -----------------------------------------------------------------------------
       
   139 //
       
   140 TBool CPsetCustomerServiceProfile::CheckIfCFSupported( 
       
   141         const RMobilePhone::TCspCallOffering aContainer ) const
       
   142     {
       
   143     SMC_MOCK_METHOD1( TBool, const RMobilePhone::TCspCallOffering, aContainer )
       
   144     }
       
   145 
       
   146 
       
   147 // -----------------------------------------------------------------------------
       
   148 // CPsetCustomerServiceProfile::CheckIfAlsSupported
       
   149 // -----------------------------------------------------------------------------
       
   150 //
       
   151 TBool CPsetCustomerServiceProfile::CheckIfAlsSupported( 
       
   152         const RMobilePhone::TCspCPHSTeleservices aContainer ) const
       
   153     {
       
   154     SMC_MOCK_METHOD1( TBool, const RMobilePhone::TCspCPHSTeleservices, aContainer )
       
   155     }
       
   156 
       
   157 
       
   158 // -----------------------------------------------------------------------------
       
   159 // CPsetCustomerServiceProfile::CheckIfNetworkSelectionSupported
       
   160 // -----------------------------------------------------------------------------
       
   161 //
       
   162 TBool CPsetCustomerServiceProfile::CheckIfNetworkSelectionSupported( 
       
   163         const RMobilePhone::TCspValueAdded aContainer ) const
       
   164     {
       
   165     SMC_MOCK_METHOD1( TBool, const RMobilePhone::TCspValueAdded, aContainer )
       
   166     }
       
   167 
       
   168