phonebookengines/VirtualPhonebook/VPbkEng/src/VPbkContactStoreUris.cpp
branchRCL_3
changeset 20 f4a778e096c2
parent 0 e686773b3f54
equal deleted inserted replaced
19:5b6f26637ad3 20:f4a778e096c2
       
     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:  Default store URIs offered by the Virtual Phonebook
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 // INCLUDE FILES
       
    21 #include "VPbkContactStoreUris.h"
       
    22 #include <VPbkStoreUriLiterals.h>
       
    23 
       
    24 // ========================== OTHER EXPORTED FUNCTIONS =========================
       
    25 
       
    26 namespace VPbkContactStoreUris {
       
    27 // -----------------------------------------------------------------------------
       
    28 // DefaultCntDbUri
       
    29 // Returns: default contact data base URI
       
    30 // -----------------------------------------------------------------------------
       
    31 //
       
    32 EXPORT_C const TDesC& DefaultCntDbUri()
       
    33     {
       
    34     return KVPbkDefaultCntDbURI;
       
    35     }
       
    36 
       
    37 // -----------------------------------------------------------------------------
       
    38 // SimGlobalAdnUri
       
    39 // Returns: ADN SIM store URI (global means the ADN store that can be accessed
       
    40 // by both GSM and 3G phone)
       
    41 // -----------------------------------------------------------------------------
       
    42 //
       
    43 EXPORT_C const TDesC& SimGlobalAdnUri()
       
    44     {
       
    45     return KVPbkSimGlobalAdnURI;
       
    46     }
       
    47 
       
    48 // -----------------------------------------------------------------------------
       
    49 // SimGlobalFdnUri
       
    50 // Returns: FDN SIM store URI (global means the FDN store that can be accessed
       
    51 // by both GSM and 3G phone)
       
    52 // -----------------------------------------------------------------------------
       
    53 //
       
    54 EXPORT_C const TDesC& SimGlobalFdnUri()
       
    55     {
       
    56     return KVPbkSimGlobalFdnURI;
       
    57     }
       
    58 
       
    59 // -----------------------------------------------------------------------------
       
    60 // SimGlobalSdnUri
       
    61 // Returns: SDN SIM store URI (global means the SDN store that can be accessed
       
    62 // by both GSM and 3G phone)
       
    63 // -----------------------------------------------------------------------------
       
    64 //
       
    65 EXPORT_C const TDesC& SimGlobalSdnUri()
       
    66     {
       
    67     return KVPbkSimGlobalSdnURI; 
       
    68     }
       
    69 
       
    70 // -----------------------------------------------------------------------------
       
    71 // SimGlobalSdnUri
       
    72 // Returns: MSISDN SIM store URI (global means the MSISDN store that
       
    73 // can be accessed by both GSM and 3G phone)
       
    74 // -----------------------------------------------------------------------------
       
    75 //
       
    76 EXPORT_C const TDesC& SimGlobalOwnNumberUri()
       
    77     {
       
    78     return KVPbkSimGlobalOwnNumberURI; 
       
    79     }
       
    80 }  // namespace VPbkContactStoreUris
       
    81 //  End of File