diff options
author | Max Kellermann <max@duempel.org> | 2013-01-09 22:37:47 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-09 22:37:47 +0100 |
commit | 5faf443038edfb7e79ae423a3499faa3af05d64b (patch) | |
tree | d1c821578e67a400161cd646d07dc887ee98c57f /src/EventPipe.hxx | |
parent | 8eacd13ce7f528adc52614ce3cc5faf963b3fc5a (diff) | |
download | mpd-5faf443038edfb7e79ae423a3499faa3af05d64b.tar.gz mpd-5faf443038edfb7e79ae423a3499faa3af05d64b.tar.xz mpd-5faf443038edfb7e79ae423a3499faa3af05d64b.zip |
event_pipe.h: convert to C++
Diffstat (limited to '')
-rw-r--r-- | src/EventPipe.hxx (renamed from src/event_pipe.h) | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/event_pipe.h b/src/EventPipe.hxx index 7c136304f..f7a0c30f3 100644 --- a/src/event_pipe.h +++ b/src/EventPipe.hxx @@ -17,8 +17,8 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef EVENT_PIPE_H -#define EVENT_PIPE_H +#ifndef MPD_EVENT_PIPE_HXX +#define MPD_EVENT_PIPE_HXX enum pipe_event { /** database update was finished */ @@ -50,10 +50,6 @@ enum pipe_event { typedef void (*event_pipe_callback_t)(void); -#ifdef __cplusplus -extern "C" { -#endif - void event_pipe_init(void); void event_pipe_deinit(void); @@ -70,8 +66,4 @@ void event_pipe_emit(enum pipe_event event); */ void event_pipe_emit_fast(enum pipe_event event); -#ifdef __cplusplus -} -#endif - #endif /* MAIN_NOTIFY_H */ |