[libdmapsharing] Prepend DACPPlayer enums with DACP_ Signed-off-by: W. Michael Petullo <mike flyn org>



commit 8c0df7ed4b68429cd0a0ae27bd5cd6ef8ff5c9f4
Author: W. Michael Petullo <mike flyn org>
Date:   Fri May 20 08:47:16 2011 -0500

    Prepend DACPPlayer enums with DACP_
    Signed-off-by: W. Michael Petullo <mike flyn org>

 libdmapsharing/dacp-player.c |    4 ++--
 libdmapsharing/dacp-player.h |   12 ++++++------
 2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/libdmapsharing/dacp-player.c b/libdmapsharing/dacp-player.c
index 1a8bed5..070eb26 100644
--- a/libdmapsharing/dacp-player.c
+++ b/libdmapsharing/dacp-player.c
@@ -48,7 +48,7 @@ dacp_player_init (DACPPlayerIface * iface)
 						      "Repeat state",
 						      "Repeat state",
 						      DMAP_TYPE_DACP_REPEAT_STATE,
-						      REPEAT_NONE,
+						      DACP_REPEAT_NONE,
 						      G_PARAM_READWRITE));
 
 		g_object_interface_install_property (iface,
@@ -57,7 +57,7 @@ dacp_player_init (DACPPlayerIface * iface)
 						      "Play state",
 						      "Play state",
 						      DMAP_TYPE_DACP_PLAY_STATE,
-						      PLAY_STOPPED,
+						      DACP_PLAY_STOPPED,
 						      G_PARAM_READWRITE));
 
 		g_object_interface_install_property (iface,
diff --git a/libdmapsharing/dacp-player.h b/libdmapsharing/dacp-player.h
index 2b7ddcd..cabeb3e 100644
--- a/libdmapsharing/dacp-player.h
+++ b/libdmapsharing/dacp-player.h
@@ -60,16 +60,16 @@ typedef struct _DACPPlayer DACPPlayer;
 
 typedef enum
 {
-	REPEAT_NONE = 0,
-	REPEAT_SINGLE = 1,
-	REPEAT_ALL = 2
+	DACP_REPEAT_NONE = 0,
+	DACP_REPEAT_SINGLE = 1,
+	DACP_REPEAT_ALL = 2
 } DACPRepeatState;
 
 typedef enum
 {
-	PLAY_STOPPED = 2,
-	PLAY_PAUSED = 3,
-	PLAY_PLAYING = 4
+	DACP_PLAY_STOPPED = 2,
+	DACP_PLAY_PAUSED = 3,
+	DACP_PLAY_PLAYING = 4
 } DACPPlayState;
 
 struct _DACPPlayerIface



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]