cellular/sssettings/xqbindings/sssettingswrapper/tsrc/mocks/mock_rsssettings.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  
       
    18 #include <smcmockclassincludes.h>
       
    19 #include <rsssettings.h>
       
    20 
       
    21 // ============================ MEMBER FUNCTIONS ===============================
       
    22 
       
    23 // -----------------------------------------------------------------------------
       
    24 // RSSSettings::RSSSettings
       
    25 // -----------------------------------------------------------------------------
       
    26 //
       
    27 RSSSettings::RSSSettings(  )
       
    28     {
       
    29     
       
    30     }
       
    31 
       
    32 
       
    33 // -----------------------------------------------------------------------------
       
    34 // RSSSettings::Close
       
    35 // -----------------------------------------------------------------------------
       
    36 //
       
    37 void RSSSettings::Close(  )
       
    38     {
       
    39     SMC_MOCK_METHOD0( void )
       
    40     }
       
    41 
       
    42 
       
    43 // -----------------------------------------------------------------------------
       
    44 // RSSSettings::Open
       
    45 // -----------------------------------------------------------------------------
       
    46 //
       
    47 TInt RSSSettings::Open(  )
       
    48     {
       
    49     SMC_MOCK_METHOD0( TInt )
       
    50     }
       
    51 
       
    52 
       
    53 // -----------------------------------------------------------------------------
       
    54 // RSSSettings::Open
       
    55 // -----------------------------------------------------------------------------
       
    56 //
       
    57 TInt RSSSettings::Open( 
       
    58         RTelServer * aTelServer )
       
    59     {
       
    60     SMC_MOCK_METHOD1( TInt, RTelServer *, aTelServer )
       
    61     }
       
    62 
       
    63 
       
    64 // -----------------------------------------------------------------------------
       
    65 // RSSSettings::RegisterAll
       
    66 // -----------------------------------------------------------------------------
       
    67 //
       
    68 TInt RSSSettings::RegisterAll( 
       
    69         MSSSettingsObserver & aObserver )
       
    70     {
       
    71     //SMC_MOCK_METHOD1( TInt, MSSSettingsObserver &, aObserver )
       
    72     }
       
    73 
       
    74 
       
    75 // -----------------------------------------------------------------------------
       
    76 // RSSSettings::Register
       
    77 // -----------------------------------------------------------------------------
       
    78 //
       
    79 TInt RSSSettings::Register( 
       
    80         TSSSettingsSetting aSetting,
       
    81         MSSSettingsObserver & aObserver )
       
    82     {
       
    83     //SMC_MOCK_METHOD2( TInt, TSSSettingsSetting, aSetting, 
       
    84     //    MSSSettingsObserver &, aObserver )
       
    85     }
       
    86 
       
    87 
       
    88 // -----------------------------------------------------------------------------
       
    89 // RSSSettings::CancelAll
       
    90 // -----------------------------------------------------------------------------
       
    91 //
       
    92 void RSSSettings::CancelAll( 
       
    93         MSSSettingsObserver & aObserver )
       
    94     {
       
    95     //SMC_MOCK_METHOD1( void, MSSSettingsObserver &, aObserver )
       
    96     }
       
    97 
       
    98 
       
    99 // -----------------------------------------------------------------------------
       
   100 // RSSSettings::Cancel
       
   101 // -----------------------------------------------------------------------------
       
   102 //
       
   103 void RSSSettings::Cancel( 
       
   104         TSSSettingsSetting aSetting,
       
   105         MSSSettingsObserver & aObserver )
       
   106     {
       
   107     //SMC_MOCK_METHOD2( void, TSSSettingsSetting, aSetting, 
       
   108     //    MSSSettingsObserver &, aObserver )
       
   109     }
       
   110 
       
   111 
       
   112 // -----------------------------------------------------------------------------
       
   113 // RSSSettings::Get
       
   114 // -----------------------------------------------------------------------------
       
   115 //
       
   116 TInt RSSSettings::Get( 
       
   117         TSSSettingsSetting aSetting,
       
   118         TInt & aValue )
       
   119     {
       
   120     SMC_MOCK_METHOD2( TInt, TSSSettingsSetting, aSetting, 
       
   121         TInt &, aValue )
       
   122     }
       
   123 
       
   124 
       
   125 // -----------------------------------------------------------------------------
       
   126 // RSSSettings::Set
       
   127 // -----------------------------------------------------------------------------
       
   128 //
       
   129 TInt RSSSettings::Set( 
       
   130         TSSSettingsSetting aSetting,
       
   131         TInt aValue )
       
   132     {
       
   133     SMC_MOCK_METHOD2( TInt, TSSSettingsSetting, aSetting, 
       
   134         TInt, aValue )
       
   135     }
       
   136 
       
   137 
       
   138 // -----------------------------------------------------------------------------
       
   139 // RSSSettings::HandleSIMChanged
       
   140 // -----------------------------------------------------------------------------
       
   141 //
       
   142 TInt RSSSettings::HandleSIMChanged(  )
       
   143     {
       
   144     SMC_MOCK_METHOD0( TInt )
       
   145     }
       
   146 
       
   147 
       
   148 // -----------------------------------------------------------------------------
       
   149 // RSSSettings::PreviousCugValue
       
   150 // -----------------------------------------------------------------------------
       
   151 //
       
   152 TInt RSSSettings::PreviousCugValue( 
       
   153         TInt & aPreviousValue )
       
   154     {
       
   155     SMC_MOCK_METHOD1( TInt, TInt &, aPreviousValue )
       
   156     }
       
   157 
       
   158 
       
   159 // -----------------------------------------------------------------------------
       
   160 // RSSSettings::ResetPreviousCugValue
       
   161 // -----------------------------------------------------------------------------
       
   162 //
       
   163 TInt RSSSettings::ResetPreviousCugValue(  )
       
   164     {
       
   165     SMC_MOCK_METHOD0( TInt )
       
   166     }
       
   167 
       
   168 
       
   169 // -----------------------------------------------------------------------------
       
   170 // RSSSettings::HandleRefresh
       
   171 // -----------------------------------------------------------------------------
       
   172 //
       
   173 TInt RSSSettings::HandleRefresh(  )
       
   174     {
       
   175     SMC_MOCK_METHOD0( TInt )
       
   176     }
       
   177 
       
   178 
       
   179 // -----------------------------------------------------------------------------
       
   180 // RSSSettings::IsValueValidCugIndex
       
   181 // -----------------------------------------------------------------------------
       
   182 //
       
   183 TBool RSSSettings::IsValueValidCugIndex( 
       
   184         const TInt & aValue ) const
       
   185     {
       
   186     SMC_MOCK_METHOD1( TBool, const TInt &, aValue )
       
   187     }
       
   188 
       
   189