From 4cff54d5496a6f2c763f4bd57a90e6859f171437 Mon Sep 17 00:00:00 2001 From: Seokpil Park Date: Thu, 28 Mar 2013 15:34:49 +0900 Subject: [PATCH] [content] Remove useless DB filed info in ContentDirectory Change-Id: I15a8a7842a69ad4865b61c12dc3c759b7d8dec47 Signed-off-by: Seokpil Park --- src/inc/FCnt_ContentDirectoryImpl.h | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/inc/FCnt_ContentDirectoryImpl.h b/src/inc/FCnt_ContentDirectoryImpl.h index e7c5f67..5468206 100644 --- a/src/inc/FCnt_ContentDirectoryImpl.h +++ b/src/inc/FCnt_ContentDirectoryImpl.h @@ -33,10 +33,10 @@ namespace Tizen { namespace Content { static const int MAX_FIELD_LENGTH = 32; - static const int MAX_QUERY_COLUMNS = 23; + static const int MAX_QUERY_COLUMNS = 20; static const int MAX_QUERY_COLUMNS_FOR_IMAGE_OTHERS = 14; - static const int MAX_QUERY_COLUMNS_FOR_VIDEO = 21; - static const int ALBUM_COLUMN_NUM = 22; + static const int MAX_QUERY_COLUMNS_FOR_VIDEO = 18; + static const int ALBUM_COLUMN_NUM = 19; typedef struct { @@ -61,15 +61,12 @@ namespace Tizen { namespace Content {"Latitude", "MEDIA_LATITUDE"}, {"Longitude", "MEDIA_LONGITUDE"}, {"Altitude", "MEDIA_ALTITUDE"}, - // for audio and video type 14 - 20 + // for audio and video type 14 - 17 {"Title", "MEDIA_TITLE"}, {"Artist", "MEDIA_ARTIST"}, {"Genre", "MEDIA_GENRE"}, {"Year", "MEDIA_YEAR"}, - {"MostPlayed", "MEDIA_PLAYED_COUNT"}, - {"RecentlyAdded", "MEDIA_ADDED_TIME"}, - {"RecentlyPlayed", "MEDIA_LAST_PLAYED_TIME"}, - // for audio type 21 - 22 + // for audio type 18 - 19 {"Composer", "MEDIA_COMPOSER"}, {"Album", "MEDIA_ALBUM"} }; -- 2.7.4