videocollection/inc/videocollectioncommon.h
changeset 50 21fe8338c6bf
parent 36 8aed59de29f9
child 58 d2b028fd1f7d
equal deleted inserted replaced
49:824471cb468a 50:21fe8338c6bf
    60     const char* const MetaKeyLanguageString = "MetaKeyLanguageString";
    60     const char* const MetaKeyLanguageString = "MetaKeyLanguageString";
    61     const char* const MetaKeyKeywords = "MetaKeyKeywords";
    61     const char* const MetaKeyKeywords = "MetaKeyKeywords";
    62     const char* const MetaKeyVideoResolutionString = "MetaKeyVideoResolutionString";
    62     const char* const MetaKeyVideoResolutionString = "MetaKeyVideoResolutionString";
    63     const char* const MetaKeyBitRate = "MetaKeyBitRate";
    63     const char* const MetaKeyBitRate = "MetaKeyBitRate";
    64     const char* const MetaKeyFormat = "MetaKeyFormat";
    64     const char* const MetaKeyFormat = "MetaKeyFormat";
       
    65     const char* const MetaKeyFileName = "MetaKeyFileName";
       
    66     const char* const MetaKeyFilePath = "MetaKeyFilePath";
       
    67     const char* const MetaKeyVideoTitle = "MetaKeyVideoTitle";
    65     
    68     
    66     enum VideoItemStatus
    69     enum VideoItemStatus
    67     {
    70     {
    68         StatusNone = 0,
    71         StatusNone = 0,
    69         StatusDeleted
    72         StatusDeleted
    72     /**
    75     /**
    73      * Labels for the different details. Needs to be in the same
    76      * Labels for the different details. Needs to be in the same
    74      * order than the VideoDetailLabelKeys.
    77      * order than the VideoDetailLabelKeys.
    75      */
    78      */
    76     const char * const VideoDetailLabels[] = {
    79     const char * const VideoDetailLabels[] = {
       
    80             QT_TR_NOOP("txt_videos_list_title"),
       
    81             QT_TR_NOOP("txt_videos_list_filename"),
       
    82             QT_TR_NOOP("txt_videos_list_file_path"),
    77     		QT_TR_NOOP("txt_videos_list_drm"),
    83     		QT_TR_NOOP("txt_videos_list_drm"),
    78             QT_TR_NOOP("txt_videos_list_service"),
    84             QT_TR_NOOP("txt_videos_list_service"),
    79             QT_TR_NOOP("txt_videos_list_description"),
    85             QT_TR_NOOP("txt_videos_list_description"),
    80             QT_TR_NOOP("txt_videos_list_duration"),
    86             QT_TR_NOOP("txt_videos_list_duration"),
    81             QT_TR_NOOP("txt_videos_list_date"),
    87             QT_TR_NOOP("txt_videos_list_date"),
    87             QT_TR_NOOP("txt_videos_list_language"),
    93             QT_TR_NOOP("txt_videos_list_language"),
    88             QT_TR_NOOP("txt_videos_list_keywords"),
    94             QT_TR_NOOP("txt_videos_list_keywords"),
    89             QT_TR_NOOP("txt_videos_list_file_size"),
    95             QT_TR_NOOP("txt_videos_list_file_size"),
    90             QT_TR_NOOP("txt_videos_list_resolution"),
    96             QT_TR_NOOP("txt_videos_list_resolution"),
    91             QT_TR_NOOP("txt_videos_list_format"),
    97             QT_TR_NOOP("txt_videos_list_format"),
    92             QT_TR_NOOP("txt_videos_list_bitrate")
    98             QT_TR_NOOP("txt_videos_list_bitrate")            
    93 };
    99 };
    94 
   100 
    95     /**
   101     /**
    96      * Order of keys in the labels const array.
   102      * Order of keys in the labels const array.
    97      */
   103      */
    98     const char * const VideoDetailLabelKeys[] = {
   104     const char * const VideoDetailLabelKeys[] = {
       
   105             MetaKeyVideoTitle,
       
   106             MetaKeyFileName,
       
   107             MetaKeyFilePath,
    99             MetaKeyDRMInfo,
   108             MetaKeyDRMInfo,
   100             MetaKeyServiceURL,
   109             MetaKeyServiceURL,
   101             MetaKeyDescription,
   110             MetaKeyDescription,
   102             MetaKeyDurationString,
   111             MetaKeyDurationString,
   103             MetaKeyDate,
   112             MetaKeyDate,
   109             MetaKeyLanguageString,
   118             MetaKeyLanguageString,
   110             MetaKeyKeywords,
   119             MetaKeyKeywords,
   111             MetaKeySizeString,
   120             MetaKeySizeString,
   112             MetaKeyVideoResolutionString,
   121             MetaKeyVideoResolutionString,
   113             MetaKeyFormat,
   122             MetaKeyFormat,
   114             MetaKeyBitRate
   123             MetaKeyBitRate            
   115     };
   124     };
   116     
   125     
   117     /**
   126     /**
   118      * Collection level app browsed to
   127      * Collection level app browsed to
   119      */
   128      */