uiservicetab/vimpststorage/tsrc/vimpststorage_ut/src/s_MVPbkContactLinkstub.cpp
branchRCL_3
changeset 22 3104fc151679
parent 21 2b7283837edb
child 23 9a48e301e94b
equal deleted inserted replaced
21:2b7283837edb 22:3104fc151679
     1 /*
       
     2 * Copyright (c) 2002-2007 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 
       
    19 
       
    20 
       
    21 // INCLUDES
       
    22 #include "s_MVPbkContactLinkstub.h"
       
    23 
       
    24 CVPbkContactLinkStub::CVPbkContactLinkStub()
       
    25 {
       
    26 	
       
    27 }
       
    28 
       
    29 /**
       
    30  * Returns the contact store which this link belongs to.
       
    31  * @return Contact store associated with this link.
       
    32  */
       
    33 MVPbkContactStore& CVPbkContactLinkStub::ContactStore() const 
       
    34 {
       
    35 MVPbkContactStore* ret=NULL;
       
    36 return *ret;	
       
    37 }
       
    38 
       
    39 /**
       
    40  * Returns ETrue if this link refers to the same contact than
       
    41  * aOther, EFalse otherwise.
       
    42  * @param aOther Contact to check equality for.
       
    43  * @return ETrue if this link refers to the same contact than
       
    44  *         aOther, EFalse otherwise.
       
    45  */
       
    46 TBool CVPbkContactLinkStub::IsSame(const MVPbkContactLink& aOther) const 
       
    47 {
       
    48 if (this == &aOther)
       
    49 return ETrue;
       
    50 
       
    51 return EFalse;
       
    52 }
       
    53 
       
    54 /**
       
    55  * Checks if this link refers to the contact aContact.
       
    56  * @param aContact Contact to check.
       
    57  * @return ETrue if this link refers to aContact, EFalse otherwise.
       
    58  */
       
    59 TBool CVPbkContactLinkStub::RefersTo(const MVPbkBaseContact& /*aContact*/) const 
       
    60 {
       
    61 return ETrue;	
       
    62 }
       
    63 
       
    64 /**
       
    65  * Returns persistent streaming interface for this object, or NULL
       
    66  * if persistent streaming is not supported.
       
    67  * @return Persistent streaming object or NULL if not supported.
       
    68  */
       
    69 const MVPbkStreamable* CVPbkContactLinkStub::Streamable() const 
       
    70 {
       
    71 return NULL;	
       
    72 };
       
    73 
       
    74 /**
       
    75  * Returns a packing interface for this link.
       
    76  * @see CVPbkContactLinkArray
       
    77  * @internal
       
    78  * @return Link packing object.
       
    79  */
       
    80 const MVPbkContactLinkPacking& CVPbkContactLinkStub::Packing() const 
       
    81 {
       
    82 MVPbkContactLinkPacking* ret = NULL;
       
    83 return *ret;	
       
    84 };
       
    85 
       
    86 /**
       
    87  * Returns a clone of this contact link.
       
    88  * @return Contact link copy.
       
    89  */
       
    90 MVPbkContactLink* CVPbkContactLinkStub::CloneLC() const 
       
    91 {
       
    92     MVPbkContactLink* temp = NULL;
       
    93     CleanupStack::PushL( temp );
       
    94     return temp;	
       
    95 }
       
    96 
       
    97 CVPbkContactLinkStub::~CVPbkContactLinkStub()
       
    98 {
       
    99 	
       
   100 }
       
   101         
       
   102     
       
   103 // End of File