omads/omadsextensions/adapters/mediads/inc/mediadsproviderdefs.h
changeset 40 b63e67867dcd
equal deleted inserted replaced
39:9905f7d46607 40:b63e67867dcd
       
     1 /*
       
     2 * Copyright (c) 2009 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 __MEDIADSPROVIDERDEFS_H__ 
       
    20 #define __MEDIADSPROVIDERDEFS_H__ 
       
    21 
       
    22 #include <e32def.h>
       
    23 #include <e32cmn.h>
       
    24 
       
    25 // Database name
       
    26 
       
    27 _LIT( KMediaDsDbName, "mediads" ); // Default db
       
    28 _LIT( KMediaDsRefreshDbName, "mediadsrefresh" ); // Used to refresh db, before opening
       
    29 
       
    30 // Resource file for CSmlDataStoreFormat in SIS installation
       
    31 _LIT(KMediaDsStoreFormatRsc,"mediadsstore.rsc");
       
    32 
       
    33 // max foldername
       
    34 const TInt KMaxFolderNameLength = 50;
       
    35 
       
    36 // Implementation uid
       
    37 const TUint KMediaDataProviderImplUid = 0x2001A9A1;
       
    38 
       
    39 // Folders
       
    40 _LIT( KAllSongs, "All songs" );
       
    41 _LIT( KPlaylists, "Playlists" );
       
    42 _LIT( KAlbums, "Albums" );
       
    43 const TInt KAllSongsFolderId( 1 );
       
    44 const TInt KPlaylistsFolderId( 2 );
       
    45 const TInt KAlbumsFolderId( 3 );
       
    46 
       
    47 const TInt KLastFolderId( KAlbumsFolderId );
       
    48 
       
    49 #endif // __MEDIADSPROVIDERDEFS_H__