[libdmapsharing] Preface, e.g., CONTROL_REPEAT_NONE with DMAP_



commit e87d5e7092de919b4d0d274bb28c590b93f81708
Author: W. Michael Petullo <mike flyn org>
Date:   Thu Jul 12 00:24:11 2018 -0400

    Preface, e.g., CONTROL_REPEAT_NONE with DMAP_
    
    Signed-off-by: W. Michael Petullo <mike flyn org>

 libdmapsharing/dmap-control-player.c |  4 ++--
 libdmapsharing/dmap-control-player.h | 12 ++++++------
 2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/libdmapsharing/dmap-control-player.c b/libdmapsharing/dmap-control-player.c
index d462539..7ea7d99 100644
--- a/libdmapsharing/dmap-control-player.c
+++ b/libdmapsharing/dmap-control-player.c
@@ -48,7 +48,7 @@ dmap_control_player_default_init (DmapControlPlayerInterface * iface)
                                                      "Repeat state",
                                                      "Repeat state",
                                                      DMAP_TYPE_DMAP_CONTROL_REPEAT_STATE,
-                                                     CONTROL_REPEAT_NONE,
+                                                     DMAP_CONTROL_REPEAT_NONE,
                                                      G_PARAM_READWRITE));
 
                g_object_interface_install_property (iface,
@@ -57,7 +57,7 @@ dmap_control_player_default_init (DmapControlPlayerInterface * iface)
                                                      "Play state",
                                                      "Play state",
                                                      DMAP_TYPE_DMAP_CONTROL_PLAY_STATE,
-                                                     CONTROL_PLAY_STOPPED,
+                                                     DMAP_CONTROL_PLAY_STOPPED,
                                                      G_PARAM_READWRITE));
 
                g_object_interface_install_property (iface,
diff --git a/libdmapsharing/dmap-control-player.h b/libdmapsharing/dmap-control-player.h
index 6fddedb..180f5a4 100644
--- a/libdmapsharing/dmap-control-player.h
+++ b/libdmapsharing/dmap-control-player.h
@@ -59,15 +59,15 @@ typedef struct _DmapControlPlayerInterface DmapControlPlayerInterface;
 typedef struct _DmapControlPlayer DmapControlPlayer;
 
 typedef enum {
-       CONTROL_REPEAT_NONE = 0,
-       CONTROL_REPEAT_SINGLE = 1,
-       CONTROL_REPEAT_ALL = 2
+       DMAP_CONTROL_REPEAT_NONE = 0,
+       DMAP_CONTROL_REPEAT_SINGLE = 1,
+       DMAP_CONTROL_REPEAT_ALL = 2
 } DmapControlRepeatState;
 
 typedef enum {
-       CONTROL_PLAY_STOPPED = 2,
-       CONTROL_PLAY_PAUSED = 3,
-       CONTROL_PLAY_PLAYING = 4
+       DMAP_CONTROL_PLAY_STOPPED = 2,
+       DMAP_CONTROL_PLAY_PAUSED = 3,
+       DMAP_CONTROL_PLAY_PLAYING = 4
 } DmapControlPlayState;
 
 struct _DmapControlPlayerInterface


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