--- a/inc/mpcommondefs.h Tue Jul 06 14:13:36 2010 +0300
+++ b/inc/mpcommondefs.h Wed Aug 18 09:46:20 2010 +0300
@@ -20,6 +20,8 @@
#ifndef MPCOMMONDEFS_H
#define MPCOMMONDEFS_H
+#include <QMetaType>
+
namespace MpCommon
{
// UID definition
@@ -40,7 +42,8 @@
ActivateCollectionView,
ActivatePlaybackView,
ActivateSettingsView,
- ActivateDetailsView
+ ActivateDetailsView,
+ ActivatePreviousView
};
/*!
@@ -62,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