[content] Remove useless DB filed info in ContentDirectory
authorSeokpil Park <seokpil.park@samsung.com>
Thu, 28 Mar 2013 06:34:49 +0000 (15:34 +0900)
committerSeokpil Park <seokpil.park@samsung.com>
Thu, 28 Mar 2013 06:34:51 +0000 (15:34 +0900)
Change-Id: I15a8a7842a69ad4865b61c12dc3c759b7d8dec47
Signed-off-by: Seokpil Park <seokpil.park@samsung.com>
src/inc/FCnt_ContentDirectoryImpl.h

index e7c5f67..5468206 100644 (file)
 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"}
        };