equal
deleted
inserted
replaced
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 |