omads/omadsextensions/adapters/bookmark/inc/bookmarkdataproviderdefs.h
changeset 40 b63e67867dcd
parent 0 dab8a81a92de
equal deleted inserted replaced
39:9905f7d46607 40:b63e67867dcd
       
     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:  Part of SyncML Data Synchronization Plug In Adapter
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __BOOKMARKDATAPROVIDERDEFS_H__ 
       
    20 #define __BOOKMARKDATAPROVIDERDEFS_H__ 
       
    21 
       
    22 
       
    23 // ------------------------------------------------------------------------------------------------
       
    24 // Databases
       
    25 // ------------------------------------------------------------------------------------------------
       
    26 
       
    27 // Resource file for CSmlDataStoreFormat
       
    28 
       
    29 // The following works with DS plugin added into ROM image 
       
    30 _LIT(KBookmarkStoreFormatRscRom,"z:bookmarkdatastore.rsc");
       
    31 
       
    32 // The following works with DS plugin installed from SIS
       
    33 _LIT(KBookmarkStoreFormatRsc,"bookmarkdatastore.rsc");
       
    34 
       
    35 
       
    36 // ------------------------------------------------------------------------------------------------
       
    37 // Constants
       
    38 // ------------------------------------------------------------------------------------------------
       
    39 
       
    40 
       
    41 // ------------------------------------------------------------------------------------------------
       
    42 // Macros
       
    43 // ------------------------------------------------------------------------------------------------
       
    44 #define SAFEDELETE(x) {if(x) {delete x; x = NULL;}}
       
    45 #define SAFEDELETEARRAY(x) {if(x) {delete[] x; x = NULL;}}
       
    46 
       
    47 #endif // __BOOKMARKDATAPROVIDERDEFS_H__