--- 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