uiservicetab/vimpststorage/tsrc/vimpststorage_ut/stubs/s_CPBK2StoreConfiguration.cpp
branchRCL_3
changeset 29 9a48e301e94b
parent 0 5e5d6b214f4f
equal deleted inserted replaced
28:3104fc151679 29:9a48e301e94b
       
     1 /*
       
     2 * Copyright (c) 2005-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 <CPbk2StoreConfiguration.h>
       
    22 #include <TVPbkContactStoreUriPtr.h>
       
    23 /**
       
    24  * Creates a new instance of this class.
       
    25  *
       
    26  * @return  A new instance of this class.
       
    27  */
       
    28   EXPORT_C /*static*/ CPbk2StoreConfiguration* CPbk2StoreConfiguration::NewL()
       
    29       { 
       
    30       CPbk2StoreConfiguration* self = new ( ELeave ) CPbk2StoreConfiguration;
       
    31       return self;
       
    32       }
       
    33 
       
    34 /**
       
    35  * Destructor.
       
    36  */
       
    37   CPbk2StoreConfiguration::~CPbk2StoreConfiguration(){ }
       
    38 
       
    39 
       
    40 
       
    41 /**
       
    42  * Fetches an array of configured contact store URIs.
       
    43  *
       
    44  * @return  Array of URIs that is the current configuration.
       
    45  */
       
    46   CVPbkContactStoreUriArray* CPbk2StoreConfiguration::CurrentConfigurationL() const{ }
       
    47 
       
    48 /**
       
    49  * Fetches an array of contact store URIs to be used
       
    50  * in searching, for example in phone number matching.
       
    51  *
       
    52  * @return  Array of URIs to be used for searching.
       
    53  */
       
    54   CVPbkContactStoreUriArray* CPbk2StoreConfiguration::SearchStoreConfigurationL(){ }
       
    55 
       
    56 /**
       
    57  * Fetches an array of supported contact stores URIs.
       
    58  * NOTE: All returned stores are not necessarily supported by
       
    59  * the current HW / SW configuration of the phone.
       
    60  *
       
    61  * @return  Array of URIs that is the supported store configuration.
       
    62  */
       
    63   CVPbkContactStoreUriArray* CPbk2StoreConfiguration::SupportedStoreConfigurationL() const{ }
       
    64 
       
    65 /**
       
    66  * Returns the URI of the default store for saving contacts.
       
    67  *
       
    68  * @return  URI of the default store.
       
    69  */
       
    70   TVPbkContactStoreUriPtr CPbk2StoreConfiguration::DefaultSavingStoreL() const{ }
       
    71 
       
    72 /**
       
    73  * Adds a new contact store URI to current configuration.
       
    74  * Then use AddSupportedContactStoreUriL to add the store to
       
    75  * supported configuration if desired.
       
    76  *
       
    77  * @param aURI      The URI to add.
       
    78  */
       
    79   void CPbk2StoreConfiguration::AddContactStoreURIL(
       
    80         TVPbkContactStoreUriPtr aURI ){ }
       
    81 
       
    82 /**
       
    83  * Removes a contact store URI from current configuration.
       
    84  * Then use RemoveSupportedContactStoreUriL to remove the store from
       
    85  * supported configuration if desired.
       
    86  *
       
    87  * @param aURI      The URI to remove.
       
    88  */
       
    89   void CPbk2StoreConfiguration::RemoveContactStoreURIL(
       
    90         TVPbkContactStoreUriPtr aURI ){ }
       
    91 
       
    92 /**
       
    93  * Adds a new configuration observer.
       
    94  *
       
    95  * @param aObserver     The observer to add.
       
    96  */
       
    97   void CPbk2StoreConfiguration::AddObserverL(
       
    98         MPbk2StoreConfigurationObserver& aObserver ){ }
       
    99 
       
   100 /**
       
   101  * Removes a configuration observer.
       
   102  *
       
   103  * @param aObserver     The observer to remove.
       
   104  */
       
   105   void CPbk2StoreConfiguration::RemoveObserver(
       
   106         MPbk2StoreConfigurationObserver& aObserver ){ }
       
   107 
       
   108 /**
       
   109  * Adds a default saving store observer.
       
   110  *
       
   111  * @param aObserver     The observer to add.
       
   112  */
       
   113   void CPbk2StoreConfiguration::AddDefaultSavingStoreObserverL(
       
   114         MPbk2DefaultSavingStoreObserver& aObserver ){ }
       
   115 
       
   116 /**
       
   117  * Removes a default saving store observer.
       
   118  *
       
   119  * @param aObserver     The observer to remove.
       
   120  */
       
   121   void CPbk2StoreConfiguration::RemoveDefaultSavingStoreObserver(
       
   122         MPbk2DefaultSavingStoreObserver& aObserver ){ }
       
   123 
       
   124 /**
       
   125  * Adds a new contact store URI to supported configuration.
       
   126  * Use AddContactStoreURIL to add the store to current
       
   127  * configuration if desired.
       
   128  *
       
   129  * @param aURI      The URI to add.
       
   130  */
       
   131   void CPbk2StoreConfiguration::AddSupportedContactStoreURIL(
       
   132         TVPbkContactStoreUriPtr aURI ){ }
       
   133 
       
   134 /**
       
   135  * Removes a contact store URI from supported configuration.
       
   136  * Use RemoveContactStoreUriL to remove the store from
       
   137  * current configuration if desired.
       
   138  *
       
   139  * @param aURI      The URI to remove.
       
   140  */
       
   141   void CPbk2StoreConfiguration::RemoveSupportedContactStoreURIL(
       
   142         TVPbkContactStoreUriPtr aURI ){ }
       
   143 
       
   144 
       
   145   CPbk2StoreConfiguration::CPbk2StoreConfiguration(){ }
       
   146 void CPbk2StoreConfiguration::ConstructL(){ }
       
   147 
       
   148    
       
   149 
       
   150 // End of File