vmbx/vmbxengine/tsrc/ut_vmbxengine/src/mpbutil_mock.cpp
changeset 19 e44a8c097b15
child 27 7eb70891911c
equal deleted inserted replaced
15:d7fc66ccd6fb 19:e44a8c097b15
       
     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 <mpbutil.h>
       
    19 #include <e32base.h>
       
    20 #include <e32des8.h>
       
    21 
       
    22 CPhoneBookBuffer::CPhoneBookBuffer():iMonitor(NULL,0,0)
       
    23 {
       
    24 }
       
    25 
       
    26 void CPhoneBookBuffer::Set(TDes8* /*aData*/){}
       
    27 
       
    28 TInt CPhoneBookBuffer::AddNewEntryTag()
       
    29 { return 0; }
       
    30 
       
    31 TInt CPhoneBookBuffer::AddNewNumberTag()
       
    32 { return 0; }
       
    33 
       
    34 TInt CPhoneBookBuffer::PutTagAndValue(TUint8 /*aTagValue*/, TUint8 /*aInteger*/)
       
    35 { return 0; }
       
    36 
       
    37 TInt CPhoneBookBuffer::PutTagAndValue(TUint8 /*aTagValue*/, TUint16 /*aInteger*/)
       
    38 { return 0; }
       
    39 
       
    40 TInt CPhoneBookBuffer::PutTagAndValue(TUint8 /*aTagValue*/, TUint32 /*aInteger*/)
       
    41 { return 0; }
       
    42 
       
    43 TInt CPhoneBookBuffer::PutTagAndValue(TUint8 /*aTagValue*/, const TDesC8 &/*aData*/)
       
    44 { return 0; }
       
    45 
       
    46 TInt CPhoneBookBuffer::PutTagAndValue(TUint8 /*aTagValue*/, const TDesC16 &/*aData*/)
       
    47 { return 0; }
       
    48 
       
    49 TInt CPhoneBookBuffer::RemovePartialEntry()
       
    50 { return 0; }
       
    51 
       
    52 void CPhoneBookBuffer::StartRead(){}
       
    53 
       
    54 TInt CPhoneBookBuffer::GetTagAndType(TUint8 &/*aTagValue*/, TPhBkTagType &/*aDataType*/)
       
    55 { return 0; }
       
    56 
       
    57 TInt CPhoneBookBuffer::GetValue(TUint8 &/*aInteger*/)
       
    58 { return 0; }
       
    59 
       
    60 TInt CPhoneBookBuffer::GetValue(TUint16 &/*aInteger*/)
       
    61 { return 0; }
       
    62 
       
    63 TInt CPhoneBookBuffer::GetValue(TUint32 &/*aInteger*/)
       
    64 { return 0; }
       
    65 
       
    66 TInt CPhoneBookBuffer::GetValue(TPtrC8 &/*aData*/)
       
    67 { return 0; }
       
    68 
       
    69 TInt CPhoneBookBuffer::GetValue(TPtrC16 &/*aData*/)
       
    70 { return 0; }
       
    71 
       
    72 void CPhoneBookBuffer::SkipValue(TPhBkTagType /*aDataType*/){}
       
    73 
       
    74 TInt CPhoneBookBuffer::BufferLength()
       
    75 { return 0; }
       
    76 
       
    77 TInt CPhoneBookBuffer::RemainingReadLength()
       
    78 { return 0; }