Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
5faf4430
Commit
5faf4430
authored
Jan 09, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
event_pipe.h: convert to C++
parent
8eacd13c
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
21 additions
and
44 deletions
+21
-44
Makefile.am
Makefile.am
+1
-2
EventPipe.cxx
src/EventPipe.cxx
+1
-1
EventPipe.hxx
src/EventPipe.hxx
+2
-10
Idle.cxx
src/Idle.cxx
+1
-4
Main.cxx
src/Main.cxx
+1
-1
PlayerThread.cxx
src/PlayerThread.cxx
+1
-4
PlaylistGlobal.cxx
src/PlaylistGlobal.cxx
+1
-4
SignalHandlers.cxx
src/SignalHandlers.cxx
+1
-1
UpdateGlue.cxx
src/UpdateGlue.cxx
+1
-1
UpdateRemove.cxx
src/UpdateRemove.cxx
+1
-4
Volume.cxx
src/Volume.cxx
+1
-4
Win32Main.cxx
src/Win32Main.cxx
+1
-4
AlsaMixerPlugin.cxx
src/mixer/AlsaMixerPlugin.cxx
+1
-1
PulseMixerPlugin.cxx
src/mixer/PulseMixerPlugin.cxx
+1
-1
read_mixer.cxx
test/read_mixer.cxx
+5
-1
run_output.cxx
test/run_output.cxx
+1
-1
No files found.
Makefile.am
View file @
5faf4430
...
...
@@ -96,7 +96,6 @@ mpd_headers = \
src/mixer_api.h
\
src/mixer_control.h
\
src/mixer_list.h
\
src/event_pipe.h
\
src/mixer_plugin.h
\
src/mixer_type.h
\
src/mixer/software_mixer_plugin.h
\
...
...
@@ -244,7 +243,7 @@ src_mpd_SOURCES = \
src/io_thread.c src/io_thread.h
\
src/Main.cxx src/Main.hxx
\
src/Win32Main.cxx
\
src/EventPipe.cxx
\
src/EventPipe.cxx
src/EventPipe.hxx
\
src/daemon.c
\
src/AudioCompress/compress.c
\
src/MusicBuffer.cxx src/MusicBuffer.hxx
\
...
...
src/EventPipe.cxx
View file @
5faf4430
...
...
@@ -18,7 +18,7 @@
*/
#include "config.h"
#include "
event_pipe.h
"
#include "
EventPipe.hxx
"
#include "fd_util.h"
#include "mpd_error.h"
...
...
src/
event_pipe.h
→
src/
EventPipe.hxx
View file @
5faf4430
...
...
@@ -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 */
src/Idle.cxx
View file @
5faf4430
...
...
@@ -24,10 +24,7 @@
#include "config.h"
#include "Idle.hxx"
extern
"C"
{
#include "event_pipe.h"
}
#include "EventPipe.hxx"
#include <assert.h>
#include <glib.h>
...
...
src/Main.cxx
View file @
5faf4430
...
...
@@ -43,6 +43,7 @@
#include "Idle.hxx"
#include "SignalHandlers.hxx"
#include "Log.hxx"
#include "EventPipe.hxx"
extern
"C"
{
#include "daemon.h"
...
...
@@ -55,7 +56,6 @@ extern "C" {
#include "input_init.h"
#include "playlist_list.h"
#include "zeroconf.h"
#include "event_pipe.h"
}
#include "mpd_error.h"
...
...
src/PlayerThread.cxx
View file @
5faf4430
...
...
@@ -32,10 +32,7 @@
#include "OutputAll.hxx"
#include "tag.h"
#include "Idle.hxx"
extern
"C"
{
#include "event_pipe.h"
}
#include "EventPipe.hxx"
#include <cmath>
...
...
src/PlaylistGlobal.cxx
View file @
5faf4430
...
...
@@ -27,10 +27,7 @@
#include "Playlist.hxx"
#include "Main.hxx"
#include "Partition.hxx"
extern
"C"
{
#include "event_pipe.h"
}
#include "EventPipe.hxx"
static
void
playlist_tag_event
(
void
)
...
...
src/SignalHandlers.cxx
View file @
5faf4430
...
...
@@ -24,7 +24,7 @@
#include "Log.hxx"
#include "Main.hxx"
#include "
event_pipe.h
"
#include "
EventPipe.hxx
"
#include "mpd_error.h"
#include <glib.h>
...
...
src/UpdateGlue.cxx
View file @
5faf4430
...
...
@@ -25,9 +25,9 @@
#include "Mapper.hxx"
#include "DatabaseSimple.hxx"
#include "Idle.hxx"
#include "EventPipe.hxx"
extern
"C"
{
#include "event_pipe.h"
#include "stats.h"
}
...
...
src/UpdateRemove.cxx
View file @
5faf4430
...
...
@@ -21,10 +21,7 @@
#include "UpdateRemove.hxx"
#include "Playlist.hxx"
#include "Partition.hxx"
extern
"C"
{
#include "event_pipe.h"
}
#include "EventPipe.hxx"
#include "song.h"
#include "Main.hxx"
...
...
src/Volume.cxx
View file @
5faf4430
...
...
@@ -21,10 +21,7 @@
#include "Volume.hxx"
#include "MixerAll.hxx"
#include "Idle.hxx"
extern
"C"
{
#include "event_pipe.h"
}
#include "EventPipe.hxx"
#include <glib.h>
...
...
src/Win32Main.cxx
View file @
5faf4430
...
...
@@ -23,10 +23,7 @@
#ifdef WIN32
#include "mpd_error.h"
extern
"C"
{
#include "event_pipe.h"
}
#include "EventPipe.hxx"
#include <glib.h>
...
...
src/mixer/AlsaMixerPlugin.cxx
View file @
5faf4430
...
...
@@ -20,7 +20,7 @@
#include "config.h"
#include "mixer_api.h"
#include "output_api.h"
#include "
event_pipe.h
"
#include "
EventPipe.hxx
"
#include <glib.h>
#include <alsa/asoundlib.h>
...
...
src/mixer/PulseMixerPlugin.cxx
View file @
5faf4430
...
...
@@ -22,7 +22,7 @@
#include "mixer_api.h"
#include "output/pulse_output_plugin.h"
#include "conf.h"
#include "
event_pipe.h
"
#include "
EventPipe.hxx
"
#include <glib.h>
...
...
test/read_mixer.c
→
test/read_mixer.c
xx
View file @
5faf4430
...
...
@@ -18,11 +18,15 @@
*/
#include "config.h"
extern
"C"
{
#include "mixer_control.h"
#include "mixer_list.h"
#include "filter_registry.h"
}
#include "pcm_volume.h"
#include "
event_pipe.h
"
#include "
EventPipe.hxx
"
#include <glib.h>
...
...
test/run_output.cxx
View file @
5faf4430
...
...
@@ -21,6 +21,7 @@
#include "OutputControl.hxx"
#include "conf.h"
#include "Idle.hxx"
#include "EventPipe.hxx"
extern
"C"
{
#include "output_plugin.h"
...
...
@@ -29,7 +30,6 @@ extern "C" {
#include "audio_parser.h"
#include "filter_registry.h"
#include "pcm_convert.h"
#include "event_pipe.h"
}
#include "PlayerControl.hxx"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment