inc/mpcommondefs.h
changeset 47 4cc1412daed0
parent 43 0f32e550d9d8
child 55 f3930dda3342
--- a/inc/mpcommondefs.h	Fri Jul 23 17:31:12 2010 -0500
+++ b/inc/mpcommondefs.h	Fri Aug 06 16:51:36 2010 -0500
@@ -20,6 +20,8 @@
 #ifndef MPCOMMONDEFS_H
 #define MPCOMMONDEFS_H
 
+#include <QMetaType>
+
 namespace MpCommon
 {
     // UID definition
@@ -63,6 +65,18 @@
         TBoneThumb,
         MediaWallThumb,
     };
+    
+    /*!
+    Volume property, used in MpMpxPlaybackFramework and MpVolumeSlider.
+    */
+    enum MpVolumeProperty{
+        MaxVolume,
+        Volume,
+        MuteState
+    };
 }
 
+    // Register MpVolumeProperty so can be used in signal and slot connection
+    Q_DECLARE_METATYPE( MpCommon::MpVolumeProperty )
+
 #endif	// MPCOMMONDEFS_H