cellular/telephonysettings/xqbindings/psetwrapper/tsrc/mocks/mock_cvoicemailboxentry.cpp
branchRCL_3
changeset 19 7d48bed6ce0c
equal deleted inserted replaced
18:594d59766373 19:7d48bed6ce0c
       
     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 "cvoicemailboxentry.h"
       
    20 
       
    21 // ============================ MEMBER FUNCTIONS ===============================
       
    22 
       
    23 // -----------------------------------------------------------------------------
       
    24 // CVoiceMailboxEntry::CVoiceMailboxEntry
       
    25 // -----------------------------------------------------------------------------
       
    26 //
       
    27 CVoiceMailboxEntry::CVoiceMailboxEntry(  )
       
    28     //:
       
    29     //CBase( /**/ )
       
    30     {
       
    31     
       
    32     }
       
    33 
       
    34 
       
    35 // -----------------------------------------------------------------------------
       
    36 // CVoiceMailboxEntry::ConstructL
       
    37 // -----------------------------------------------------------------------------
       
    38 //
       
    39 void CVoiceMailboxEntry::ConstructL(  )
       
    40     {
       
    41     
       
    42     }
       
    43 
       
    44 
       
    45 // -----------------------------------------------------------------------------
       
    46 // CVoiceMailboxEntry::NewL
       
    47 // -----------------------------------------------------------------------------
       
    48 //
       
    49 CVoiceMailboxEntry * CVoiceMailboxEntry::NewL(  )
       
    50     {
       
    51     SMC_MOCK_NEWL0( CVoiceMailboxEntry * )
       
    52 
       
    53     CVoiceMailboxEntry* self = new( ELeave ) CVoiceMailboxEntry;
       
    54     CleanupStack::PushL( self );
       
    55     //self->ConstructL()
       
    56     CleanupStack::Pop( self );
       
    57     return self;
       
    58     }
       
    59 
       
    60 
       
    61 // -----------------------------------------------------------------------------
       
    62 // CVoiceMailboxEntry::NewLC
       
    63 // -----------------------------------------------------------------------------
       
    64 //
       
    65 CVoiceMailboxEntry * CVoiceMailboxEntry::NewLC(  )
       
    66     {
       
    67     SMC_MOCK_NEWLC0( CVoiceMailboxEntry * )
       
    68 
       
    69     CVoiceMailboxEntry* self = new( ELeave ) CVoiceMailboxEntry;
       
    70     CleanupStack::PushL( self );
       
    71     //self->ConstructL()
       
    72     return self;
       
    73     }
       
    74 
       
    75 
       
    76 // -----------------------------------------------------------------------------
       
    77 // CVoiceMailboxEntry::~CVoiceMailboxEntry
       
    78 // -----------------------------------------------------------------------------
       
    79 //
       
    80 CVoiceMailboxEntry::~CVoiceMailboxEntry(  )
       
    81     {
       
    82     
       
    83     }
       
    84 
       
    85 
       
    86 // -----------------------------------------------------------------------------
       
    87 // CVoiceMailboxEntry::ServiceId
       
    88 // -----------------------------------------------------------------------------
       
    89 //
       
    90 TServiceId CVoiceMailboxEntry::ServiceId(  ) const
       
    91     {
       
    92     SMC_MOCK_METHOD0( TServiceId )
       
    93     }
       
    94 
       
    95 
       
    96 // -----------------------------------------------------------------------------
       
    97 // CVoiceMailboxEntry::SetServiceId
       
    98 // -----------------------------------------------------------------------------
       
    99 //
       
   100 void CVoiceMailboxEntry::SetServiceId( 
       
   101         const TServiceId & aVmbxServiceId )
       
   102     {
       
   103     SMC_MOCK_METHOD1( void, const TServiceId &, aVmbxServiceId )
       
   104     }
       
   105 
       
   106 
       
   107 // -----------------------------------------------------------------------------
       
   108 // CVoiceMailboxEntry::VoiceMailboxType
       
   109 // -----------------------------------------------------------------------------
       
   110 //
       
   111 TVmbxType CVoiceMailboxEntry::VoiceMailboxType(  ) const
       
   112     {
       
   113     SMC_MOCK_METHOD0( TVmbxType )
       
   114     }
       
   115 
       
   116 
       
   117 // -----------------------------------------------------------------------------
       
   118 // CVoiceMailboxEntry::SetVoiceMailboxType
       
   119 // -----------------------------------------------------------------------------
       
   120 //
       
   121 void CVoiceMailboxEntry::SetVoiceMailboxType( 
       
   122         const TVmbxType & aVmbxType )
       
   123     {
       
   124     SMC_MOCK_METHOD1( void, const TVmbxType &, aVmbxType )
       
   125     }
       
   126 
       
   127 
       
   128 // -----------------------------------------------------------------------------
       
   129 // CVoiceMailboxEntry::VmbxAlsLineType
       
   130 // -----------------------------------------------------------------------------
       
   131 //
       
   132 TVmbxAlsLineType CVoiceMailboxEntry::VmbxAlsLineType(  ) const
       
   133     {
       
   134     SMC_MOCK_METHOD0( TVmbxAlsLineType )
       
   135     }
       
   136 
       
   137 
       
   138 // -----------------------------------------------------------------------------
       
   139 // CVoiceMailboxEntry::SetVmbxAlsLineType
       
   140 // -----------------------------------------------------------------------------
       
   141 //
       
   142 void CVoiceMailboxEntry::SetVmbxAlsLineType( 
       
   143         const TVmbxAlsLineType & aLine )
       
   144     {
       
   145     SMC_MOCK_METHOD1( void, const TVmbxAlsLineType &, aLine )
       
   146     }
       
   147 
       
   148 // -----------------------------------------------------------------------------
       
   149 // CVoiceMailboxEntry::GetVmbxNumber
       
   150 // -----------------------------------------------------------------------------
       
   151 //
       
   152 TInt CVoiceMailboxEntry::GetVmbxNumber( 
       
   153         TPtrC & aVmbxNumber ) const
       
   154     {
       
   155     SMC_MOCK_METHOD1( TInt, TPtrC &, aVmbxNumber )
       
   156     }
       
   157 
       
   158 
       
   159 // -----------------------------------------------------------------------------
       
   160 // CVoiceMailboxEntry::SetVmbxNumber
       
   161 // -----------------------------------------------------------------------------
       
   162 //
       
   163 TInt CVoiceMailboxEntry::SetVmbxNumber( 
       
   164         const TDesC & aVmbxNumber )
       
   165     {
       
   166     SMC_MOCK_METHOD1( TInt, const TDesC &, aVmbxNumber )
       
   167     }
       
   168 
       
   169 
       
   170 // -----------------------------------------------------------------------------
       
   171 // CVoiceMailboxEntry::GetBrandId
       
   172 // -----------------------------------------------------------------------------
       
   173 //
       
   174 TInt CVoiceMailboxEntry::GetBrandId( 
       
   175         TPtrC8 & aBrandId ) const
       
   176     {
       
   177     SMC_MOCK_METHOD1( TInt, TPtrC8 &, aBrandId )
       
   178     }
       
   179 
       
   180 
       
   181 // -----------------------------------------------------------------------------
       
   182 // CVoiceMailboxEntry::SetBrandId
       
   183 // -----------------------------------------------------------------------------
       
   184 //
       
   185 TInt CVoiceMailboxEntry::SetBrandId( 
       
   186         const TDesC8 & aBrandId )
       
   187     {
       
   188     SMC_MOCK_METHOD1( TInt, const TDesC8 &, aBrandId )
       
   189     }
       
   190 
       
   191 
       
   192 // -----------------------------------------------------------------------------
       
   193 // CVoiceMailboxEntry::GetVmbxName
       
   194 // -----------------------------------------------------------------------------
       
   195 //
       
   196 TInt CVoiceMailboxEntry::GetVmbxName( 
       
   197         TPtrC & aVmbxName ) const
       
   198     {
       
   199     SMC_MOCK_METHOD1( TInt, TPtrC &, aVmbxName )
       
   200     }
       
   201 
       
   202 
       
   203 // -----------------------------------------------------------------------------
       
   204 // CVoiceMailboxEntry::SetVmbxName
       
   205 // -----------------------------------------------------------------------------
       
   206 //
       
   207 TInt CVoiceMailboxEntry::SetVmbxName( 
       
   208         const TDesC & aVmbxName )
       
   209     {
       
   210     SMC_MOCK_METHOD1( TInt, const TDesC &, aVmbxName )
       
   211     }
       
   212 
       
   213 
       
   214 // -----------------------------------------------------------------------------
       
   215 // CVoiceMailboxEntry::UsingMemoryLocation
       
   216 // -----------------------------------------------------------------------------
       
   217 //
       
   218 TVmbxMemoryLocation CVoiceMailboxEntry::UsingMemoryLocation(  ) const
       
   219     {
       
   220     SMC_MOCK_METHOD0( TVmbxMemoryLocation )
       
   221     }
       
   222 
       
   223 
       
   224 // -----------------------------------------------------------------------------
       
   225 // CVoiceMailboxEntry::Reset
       
   226 // -----------------------------------------------------------------------------
       
   227 //
       
   228 void CVoiceMailboxEntry::Reset(  )
       
   229     {
       
   230     SMC_MOCK_METHOD0( void )
       
   231     }
       
   232 
       
   233 
       
   234 // -----------------------------------------------------------------------------
       
   235 // CVoiceMailboxEntry::SetUsingMemoryLocation
       
   236 // -----------------------------------------------------------------------------
       
   237 //
       
   238 void CVoiceMailboxEntry::SetUsingMemoryLocation( 
       
   239         const TVmbxMemoryLocation & aType )
       
   240     {
       
   241     SMC_MOCK_METHOD1( void, const TVmbxMemoryLocation &, aType )
       
   242     }
       
   243 
       
   244