diff options
Diffstat (limited to 'src/event_pipe.h')
-rw-r--r-- | src/event_pipe.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/event_pipe.h b/src/event_pipe.h index 3749ccf79..7c136304f 100644 --- a/src/event_pipe.h +++ b/src/event_pipe.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2011 The Music Player Daemon Project + * Copyright (C) 2003-2013 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -50,6 +50,10 @@ 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); @@ -66,4 +70,8 @@ void event_pipe_emit(enum pipe_event event); */ void event_pipe_emit_fast(enum pipe_event event); +#ifdef __cplusplus +} +#endif + #endif /* MAIN_NOTIFY_H */ |