diff options
author | Max Kellermann <max@duempel.org> | 2009-01-01 18:12:00 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-01 18:12:00 +0100 |
commit | 9f5934d95bac6436ccc9a6dadc57e1e062505a79 (patch) | |
tree | 753296216df7698da7fd6b25a1719b177c098825 | |
parent | 99f8dc0168c4fc0c20de0a2e301ef84ed40e591a (diff) |
main_notify: renamed source to event_pipe.c
We are going to migrate away from the concept of notifying the main
thread. There should be events sent to it instead. This patch starts
a series to implement that.
-rw-r--r-- | src/Makefile.am | 4 | ||||
-rw-r--r-- | src/client.c | 2 | ||||
-rw-r--r-- | src/database.c | 2 | ||||
-rw-r--r-- | src/event_pipe.c (renamed from src/main_notify.c) | 2 | ||||
-rw-r--r-- | src/event_pipe.h (renamed from src/main_notify.h) | 4 | ||||
-rw-r--r-- | src/idle.c | 2 | ||||
-rw-r--r-- | src/main.c | 2 | ||||
-rw-r--r-- | src/player_control.c | 2 | ||||
-rw-r--r-- | src/player_thread.c | 2 | ||||
-rw-r--r-- | src/update.c | 2 |
10 files changed, 12 insertions, 12 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 1c18bc4a..501bfe4e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -44,7 +44,7 @@ mpd_headers = \ log.h \ ls.h \ main.h \ - main_notify.h \ + event_pipe.h \ daemon.h \ normalize.h \ compress.h \ @@ -125,7 +125,7 @@ mpd_SOURCES = \ log.c \ ls.c \ main.c \ - main_notify.c \ + event_pipe.c \ daemon.c \ normalize.c \ compress.c \ diff --git a/src/client.c b/src/client.c index 9a251d3d..02d35cc4 100644 --- a/src/client.c +++ b/src/client.c @@ -22,7 +22,7 @@ #include "listen.h" #include "permission.h" #include "utils.h" -#include "main_notify.h" +#include "event_pipe.h" #include "dlist.h" #include "idle.h" #include "main.h" diff --git a/src/database.c b/src/database.c index 1472b712..8b66bc07 100644 --- a/src/database.c +++ b/src/database.c @@ -28,7 +28,7 @@ #include "utils.h" #include "dbUtils.h" #include "update.h" -#include "main_notify.h" +#include "event_pipe.h" #include "config.h" #include <glib.h> diff --git a/src/main_notify.c b/src/event_pipe.c index 6a5ff484..ac76209d 100644 --- a/src/main_notify.c +++ b/src/event_pipe.c @@ -18,7 +18,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "main_notify.h" +#include "event_pipe.h" #include "utils.h" #include "log.h" diff --git a/src/main_notify.h b/src/event_pipe.h index a02564cc..ddcc420b 100644 --- a/src/main_notify.h +++ b/src/event_pipe.h @@ -18,8 +18,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef MPD_MAIN_NOTIFY_H -#define MPD_MAIN_NOTIFY_H +#ifndef EVENT_PIPE_H +#define EVENT_PIPE_H #include <glib.h> @@ -22,7 +22,7 @@ */ #include "idle.h" -#include "main_notify.h" +#include "event_pipe.h" #include <assert.h> #include <glib.h> @@ -49,7 +49,7 @@ #include "../config.h" #include "normalize.h" #include "zeroconf.h" -#include "main_notify.h" +#include "event_pipe.h" #include "dirvec.h" #include "songvec.h" #include "tag_pool.h" diff --git a/src/player_control.c b/src/player_control.c index 049207ae..4560dec8 100644 --- a/src/player_control.c +++ b/src/player_control.c @@ -23,7 +23,7 @@ #include "song.h" #include "idle.h" #include "pcm_utils.h" -#include "main_notify.h" +#include "event_pipe.h" #include <assert.h> #include <stdio.h> diff --git a/src/player_thread.c b/src/player_thread.c index bbbb5e61..c8352555 100644 --- a/src/player_thread.c +++ b/src/player_thread.c @@ -22,7 +22,7 @@ #include "audio.h" #include "pcm_utils.h" #include "path.h" -#include "main_notify.h" +#include "event_pipe.h" #include "crossfade.h" #include "song.h" #include "pipe.h" diff --git a/src/update.c b/src/update.c index 67d19723..4d0ed511 100644 --- a/src/update.c +++ b/src/update.c @@ -26,7 +26,7 @@ #include "path.h" #include "playlist.h" #include "utils.h" -#include "main_notify.h" +#include "event_pipe.h" #include "condition.h" #include "update.h" #include "idle.h" |