diff -r 0ca79e3612d9 -r 9ba7f05d28a5 omads/omadsextensions/adapters/mediads/inc/mediadsproviderdefs.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/omads/omadsextensions/adapters/mediads/inc/mediadsproviderdefs.h Tue Jul 06 14:06:02 2010 +0300 @@ -0,0 +1,49 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Part of SyncML Data Synchronization Plug In Adapter +* +*/ + + +#ifndef __MEDIADSPROVIDERDEFS_H__ +#define __MEDIADSPROVIDERDEFS_H__ + +#include +#include + +// Database name + +_LIT( KMediaDsDbName, "mediads" ); // Default db +_LIT( KMediaDsRefreshDbName, "mediadsrefresh" ); // Used to refresh db, before opening + +// Resource file for CSmlDataStoreFormat in SIS installation +_LIT(KMediaDsStoreFormatRsc,"mediadsstore.rsc"); + +// max foldername +const TInt KMaxFolderNameLength = 50; + +// Implementation uid +const TUint KMediaDataProviderImplUid = 0x2001A9A1; + +// Folders +_LIT( KAllSongs, "All songs" ); +_LIT( KPlaylists, "Playlists" ); +_LIT( KAlbums, "Albums" ); +const TInt KAllSongsFolderId( 1 ); +const TInt KPlaylistsFolderId( 2 ); +const TInt KAlbumsFolderId( 3 ); + +const TInt KLastFolderId( KAlbumsFolderId ); + +#endif // __MEDIADSPROVIDERDEFS_H__