uiservicetab/vimpststorage/tsrc/vimpststorage_ut/src/CVPbkContactStoreUriArrayStub.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 #include <CVPbkContactStoreUriArray.h>
       
    22 
       
    23 #include <tvpbkcontactstoreuriptr.h>
       
    24 /**
       
    25  * Creates a new instance of this class.
       
    26  * @return Newly created instance of this class.
       
    27  */
       
    28 EXPORT_C CVPbkContactStoreUriArray* CVPbkContactStoreUriArray::NewL()
       
    29 {
       
    30 return new (ELeave) CVPbkContactStoreUriArray();
       
    31 }
       
    32 
       
    33 /**
       
    34  * Creates a new instance of this class. Leaves
       
    35  * the instance to the cleanup stack.
       
    36  * @return Newly created instance of this class.
       
    37  */
       
    38 EXPORT_C CVPbkContactStoreUriArray* CVPbkContactStoreUriArray::NewLC(){ return NULL; }
       
    39 
       
    40 /**
       
    41  * Creates a new instance of this class internalizing the
       
    42  * contents of the descriptor.
       
    43  * @param aPackedUris	Packed URIs created by using the 
       
    44  * 						PackLC functionality of this class.
       
    45  * @return Newly created instance of this class.
       
    46  */
       
    47 EXPORT_C CVPbkContactStoreUriArray* CVPbkContactStoreUriArray::NewLC(const TDesC8& /*aPackedUris*/){ return NULL; }
       
    48         
       
    49 /**
       
    50  * Destructor.
       
    51  */
       
    52 CVPbkContactStoreUriArray::~CVPbkContactStoreUriArray(){}
       
    53 
       
    54 
       
    55 /**
       
    56  * Appends StoreUriPtr to this array.
       
    57  *
       
    58  * @param aStoreUri	Store URI to add array.
       
    59  */
       
    60 EXPORT_C void CVPbkContactStoreUriArray::AppendL(const TVPbkContactStoreUriPtr& /*aStoreUri*/){}
       
    61 
       
    62 /**
       
    63  * Appends array of StoreUriPtr to this array.
       
    64  *
       
    65  * @param aUriArray	Array of Store URIs to add array.
       
    66  */
       
    67 EXPORT_C void CVPbkContactStoreUriArray::AppendAllL(const CVPbkContactStoreUriArray& /*aUriArray*/){}
       
    68 
       
    69 /**
       
    70  * Removes StoreUriPtr from this array.
       
    71  *
       
    72  * @param aStoreUri Store Uri to add array.
       
    73  */
       
    74 EXPORT_C void CVPbkContactStoreUriArray::Remove(const TVPbkContactStoreUriPtr& /*aStoreUri*/){}
       
    75 
       
    76 /**
       
    77  * Returns the count of Store URIs in this array.
       
    78  *
       
    79  * @return Count of Store URIs in array.
       
    80  */
       
    81 EXPORT_C TInt CVPbkContactStoreUriArray::Count() const{ return 0; }
       
    82 
       
    83 /**
       
    84  * Gets the URI pointer descriptor from this array at 
       
    85  * the given index.
       
    86  *
       
    87  * @param aIndex Index which URI Ptr is needed
       
    88  * @return URI pointer descriptor.
       
    89  */
       
    90 EXPORT_C TVPbkContactStoreUriPtr CVPbkContactStoreUriArray::operator[](TInt /*aIndex*/) const
       
    91 {
       
    92 TVPbkContactStoreUriPtr ret;
       
    93 return ret;
       
    94 }
       
    95 
       
    96 /**
       
    97  * Packs this URI array to a heap descriptor.
       
    98  *
       
    99  * @return Packed URI array in a heap descriptor.
       
   100  */        
       
   101 EXPORT_C HBufC8* CVPbkContactStoreUriArray::PackLC() const{ return NULL; }
       
   102 
       
   103 /**
       
   104  * Checks whether the given URI is already in this array.
       
   105  *
       
   106  * @param aStoreUri Store URI to check.
       
   107  * @return ETrue if Store URI is in this array, EFalse if not.
       
   108  */        
       
   109 EXPORT_C TBool CVPbkContactStoreUriArray::IsIncluded(const TVPbkContactStoreUriPtr& /*aStoreUri*/) const{ return EFalse; }
       
   110 
       
   111 CVPbkContactStoreUriArray::CVPbkContactStoreUriArray(){}
       
   112 void CVPbkContactStoreUriArray::ConstructL(){}
       
   113 void CVPbkContactStoreUriArray::ConstructL(const TDesC8& /*aPackedUris*/){}
       
   114 TInt CVPbkContactStoreUriArray::CalculateExternalizedSize() const{ return 0; }
       
   115 
       
   116 // End of File