Reinforce test code
[platform/core/api/media-content.git] / include_product / media_info_private.h
index f874dc8..290e334 100644 (file)
@@ -53,7 +53,7 @@ extern "C" {
 * @brief This file contains the media info API and related structure and enumeration. \n
 *        Description of the audio, video,image content involves: album, artist, album_artist, genre and description tags. \n
 *        Parameters of the recording are also supported, as: format, bitrate, duration, size etc. \n
-*        Defenitions of media DB fields and tables, operations with media data relating to DB and handling with media filter attributes.
+*        Definitions of media DB fields and tables, operations with media data relating to DB and handling with media filter attributes.
 */
 
 
@@ -257,6 +257,14 @@ typedef struct {
 
 typedef struct {
        char *media_id;
+       char *author;
+       char *publisher;
+       char *date;
+       char *subject;
+} book_meta_s;
+
+typedef struct {
+       char *media_id;
        char *file_path;
        char *display_name;
        media_content_type_e media_type;
@@ -288,6 +296,7 @@ typedef struct {
        image_meta_s *image_meta;
        video_meta_s *video_meta;
        audio_meta_s *audio_meta;
+       book_meta_s *book_meta;
 } media_info_s;
 
 typedef struct {
@@ -442,7 +451,7 @@ typedef struct _media_content_scan_cb_data_v2 {
 
 /* DB field for media */
 #define DB_FIELD_MEDIA_DISPLAY_NAME            "media_display_name"
-#define DB_FIELD_MEDIA_TYPE                                    "media_type"
+#define DB_FIELD_MEDIA_TYPE                            "media_type"
 #define DB_FIELD_MEDIA_MIME_TYPE               "media_mime_type"
 #define DB_FIELD_MEDIA_SIZE                            "media_size"
 #define DB_FIELD_MEDIA_ADDED_TIME              "media_added_time"