uiservicetab/vimpststorage/tsrc/vimpststorage_ut/src/s_TVPbkContactStoreUriPtr.cpp
branchRCL_3
changeset 22 3104fc151679
parent 21 2b7283837edb
child 23 9a48e301e94b
equal deleted inserted replaced
21:2b7283837edb 22:3104fc151679
     1 /*
       
     2 * Copyright (c) 2004-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 #include <TVPbkContactStoreUriPtr.h>
       
    22 
       
    23 /**
       
    24  * Constructs a URI pointer to aStoreUri.
       
    25  *
       
    26  * @param aStoreUri A reference to the contact store URI.
       
    27  */
       
    28 EXPORT_C TVPbkContactStoreUriPtr::TVPbkContactStoreUriPtr(const TDesC& /*aStoreUri*/){ }
       
    29 
       
    30 /**
       
    31  * Constructor.
       
    32  */
       
    33 EXPORT_C TVPbkContactStoreUriPtr::TVPbkContactStoreUriPtr(){ }
       
    34 
       
    35 
       
    36 /**
       
    37  * Returns a descriptor that holds the whole Uri.
       
    38  *
       
    39  * @return A descriptor that holds the whole Uri.
       
    40  */
       
    41 EXPORT_C const TDesC& TVPbkContactStoreUriPtr::UriDes() const{ return KNullDesC(); }
       
    42 
       
    43 /**
       
    44  * Compares this URI's component to aUri's component.
       
    45  *
       
    46  * @param aUri The URI whose component is compared.
       
    47  * @param aComponent Defines the component that are compared.
       
    48  * @return Zero if the URIs are the same.
       
    49  */
       
    50 EXPORT_C TInt TVPbkContactStoreUriPtr::Compare(const TVPbkContactStoreUriPtr& /*aUri*/, 
       
    51         TVPbkContactStoreUriComponent /*aComponent*/) const{ return 0; }
       
    52 
       
    53 /**
       
    54  * Compares this URI's component to aUriComponent.
       
    55  *
       
    56  * @param aUriComponent A descriptor that contains the component data.
       
    57  * @param aComponent Defines the component of this URI that is compared
       
    58  *                   to aUriComponent.
       
    59  * @return Zero if components matched.
       
    60  */
       
    61 EXPORT_C TInt TVPbkContactStoreUriPtr::Compare(const TDesC& /*aUriComponent*/, 
       
    62         TVPbkContactStoreUriComponent /*aComponent*/) const{ return 0; }
       
    63 
       
    64 /**
       
    65  * Returns a pointer to the aComponent part of URI.
       
    66  *
       
    67  * @param aComponent Defines the component that is returned.
       
    68  * @return a pointer to the aComponent part of URI.
       
    69  */
       
    70 EXPORT_C const TPtrC TVPbkContactStoreUriPtr::Component(
       
    71         TVPbkContactStoreUriComponent /*aComponent*/) const{ return KNullDesC(); }
       
    72 
       
    73 /**
       
    74  * Sets this URI pointer to point to the same URI as aUri.
       
    75  *
       
    76  * @param aUri The URI that will be pointed to.
       
    77  */
       
    78 EXPORT_C void TVPbkContactStoreUriPtr::Set(const TVPbkContactStoreUriPtr& /*aUri*/){ }
       
    79 
       
    80 /**
       
    81  * Returns the length of the URI.
       
    82  *
       
    83  * @return The length of the URI.
       
    84  */
       
    85 EXPORT_C TInt TVPbkContactStoreUriPtr::Length() const{ return 0; }
       
    86 
       
    87 
       
    88 EXPORT_C void TVPbkContactStoreUriPtr::ExternalizeL(RWriteStream& /*aStream*/) const{ }
       
    89 EXPORT_C TInt TVPbkContactStoreUriPtr::ExternalizedSize() const{ return 0; }
       
    90 
       
    91 
       
    92 TInt TVPbkContactStoreUriPtr::CompareC(const TDesC& /*aLhsUri*/, const TDesC& /*aRhsUri*/) const{ return 0; }
       
    93 
       
    94 //End of file