inc/mpcommondefs.h
changeset 47 4cc1412daed0
parent 43 0f32e550d9d8
child 55 f3930dda3342
equal deleted inserted replaced
45:612c4815aebe 47:4cc1412daed0
    17 
    17 
    18 
    18 
    19 
    19 
    20 #ifndef MPCOMMONDEFS_H
    20 #ifndef MPCOMMONDEFS_H
    21 #define MPCOMMONDEFS_H
    21 #define MPCOMMONDEFS_H
       
    22 
       
    23 #include <QMetaType>
    22 
    24 
    23 namespace MpCommon
    25 namespace MpCommon
    24 {
    26 {
    25     // UID definition
    27     // UID definition
    26     const long int KMusicPlayerUid      = {0x10207C62};
    28     const long int KMusicPlayerUid      = {0x10207C62};
    61     enum MpThumbType{
    63     enum MpThumbType{
    62         ListThumb,
    64         ListThumb,
    63         TBoneThumb,
    65         TBoneThumb,
    64         MediaWallThumb,
    66         MediaWallThumb,
    65     };
    67     };
       
    68     
       
    69     /*!
       
    70     Volume property, used in MpMpxPlaybackFramework and MpVolumeSlider.
       
    71     */
       
    72     enum MpVolumeProperty{
       
    73         MaxVolume,
       
    74         Volume,
       
    75         MuteState
       
    76     };
    66 }
    77 }
    67 
    78 
       
    79     // Register MpVolumeProperty so can be used in signal and slot connection
       
    80     Q_DECLARE_METATYPE( MpCommon::MpVolumeProperty )
       
    81 
    68 #endif	// MPCOMMONDEFS_H
    82 #endif	// MPCOMMONDEFS_H