mpxplugins/serviceplugins/collectionplugins/mpxsqlitedbhgplugin/inc/mpxcollectiondbdef.h
branchRCL_3
changeset 17 c8156a91d13c
parent 0 ff3acec5bc43
child 40 cb96c29156b2
equal deleted inserted replaced
15:171e07ac910f 17:c8156a91d13c
    25 // CONSTANTS
    25 // CONSTANTS
    26 
    26 
    27 // ================================== DATABASE ================================
    27 // ================================== DATABASE ================================
    28 
    28 
    29 // Db filename
    29 // Db filename
       
    30 #ifdef ABSTRACTAUDIOALBUM_INCLUDED
       
    31 _LIT(KMCDbFile, "mpxv2_6.db");
       
    32 #else 
    30 _LIT(KMCDbFile, "mpxv2_5.db");
    33 _LIT(KMCDbFile, "mpxv2_5.db");
    31 
    34 #endif // ABSTRACTAUDIOALBUM_INCLUDED
    32 // Collection Db resource file
    35 // Collection Db resource file
    33 _LIT(KMPXCollectionDbResourceFile,  "mpxcollectiondbhgres.rsc");
    36 _LIT(KMPXCollectionDbResourceFile,  "mpxcollectiondbhgres.rsc");
    34 
    37 
    35 // == TABLE NAMES =============================================================
    38 // == TABLE NAMES =============================================================
    36 // The Auxiliary table stores general database metadata
    39 // The Auxiliary table stores general database metadata
    49 _LIT(KMCAlbumTable,                 "Album");
    52 _LIT(KMCAlbumTable,                 "Album");
    50 // The Genre table stores genres information
    53 // The Genre table stores genres information
    51 _LIT(KMCGenreTable,                 "Genre");
    54 _LIT(KMCGenreTable,                 "Genre");
    52 // The Composer table stores composers information
    55 // The Composer table stores composers information
    53 _LIT(KMCComposerTable,              "Composer");
    56 _LIT(KMCComposerTable,              "Composer");
    54 
    57 #ifdef ABSTRACTAUDIOALBUM_INCLUDED
       
    58 // The AbstractAlbum table stores Abstract Album Art information
       
    59 _LIT(KMCAbstractAlbumTable,              "AbstractAlbum");
       
    60 #endif // ABSTRACTAUDIOALBUM_INCLUDED
    55 // == Music TABLE FIELDS ======================================================
    61 // == Music TABLE FIELDS ======================================================
    56 _LIT(KMCMusicUniqueId,          "UniqueId");
    62 _LIT(KMCMusicUniqueId,          "UniqueId");
    57 
    63 
    58 // From MMF (MmfMeta.h)
    64 // From MMF (MmfMeta.h)
    59 #define KMCMusicName                KMMFMetaEntrySongTitle           // "title"
    65 #define KMCMusicName                KMMFMetaEntrySongTitle           // "title"
    92 
    98 
    93 // Audio Codec: required by MTP to support Play4sure
    99 // Audio Codec: required by MTP to support Play4sure
    94 _LIT(KMCMusicCodec,                 "Codec");
   100 _LIT(KMCMusicCodec,                 "Codec");
    95 _LIT(KMCMusicMimeType,              "MimeType");
   101 _LIT(KMCMusicMimeType,              "MimeType");
    96 _LIT(KMCMusicMTPDrmStatus,          "MTPDrmStatus");
   102 _LIT(KMCMusicMTPDrmStatus,          "MTPDrmStatus");
       
   103 #ifdef ABSTRACTAUDIOALBUM_INCLUDED
       
   104 _LIT(KMCMusicAlbumArtist,           "AlbumArtist");
       
   105 _LIT(KMCMusicContainEmbeddedArt,    "ContainEmbeddedArt");
       
   106 _LIT(KMCMusicAbstractAlbum,         "AbstractAlbum");
       
   107 #endif // ABSTRACTAUDIOALBUM_INCLUDED
    97 
   108 
    98 // == Category TABLE FIELDS ===================================================
   109 // == Category TABLE FIELDS ===================================================
    99 _LIT(KMCCategoryUniqueId,           "UniqueId");
   110 _LIT(KMCCategoryUniqueId,           "UniqueId");
   100 _LIT(KMCCategoryName,               "Name");
   111 _LIT(KMCCategoryName,               "Name");
   101 _LIT(KMCCategorySongCount,          "SongCount");
   112 _LIT(KMCCategorySongCount,          "SongCount");