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
e86e77ad
Commit
e86e77ad
authored
Jan 09, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
idle: convert to C++
parent
3c4bb9ff
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
25 additions
and
46 deletions
+25
-46
Makefile.am
Makefile.am
+1
-2
ClientIdle.cxx
src/ClientIdle.cxx
+1
-4
ClientSubscribe.cxx
src/ClientSubscribe.cxx
+1
-4
Idle.cxx
src/Idle.cxx
+5
-2
Idle.hxx
src/Idle.hxx
+3
-3
Main.cxx
src/Main.cxx
+1
-1
OtherCommands.cxx
src/OtherCommands.cxx
+1
-4
OutputCommand.cxx
src/OutputCommand.cxx
+1
-1
PlayerControl.cxx
src/PlayerControl.cxx
+1
-5
PlayerThread.cxx
src/PlayerThread.cxx
+1
-1
Playlist.cxx
src/Playlist.cxx
+1
-4
PlaylistEdit.cxx
src/PlaylistEdit.cxx
+1
-1
PlaylistFile.cxx
src/PlaylistFile.cxx
+1
-1
PlaylistSave.cxx
src/PlaylistSave.cxx
+1
-1
ReplayGainConfig.cxx
src/ReplayGainConfig.cxx
+1
-5
StickerDatabase.cxx
src/StickerDatabase.cxx
+1
-4
UpdateGlue.cxx
src/UpdateGlue.cxx
+1
-1
Volume.cxx
src/Volume.cxx
+1
-1
run_output.cxx
test/run_output.cxx
+1
-1
No files found.
Makefile.am
View file @
e86e77ad
...
...
@@ -61,7 +61,6 @@ mpd_headers = \
src/filter/convert_filter_plugin.h
\
src/filter/volume_filter_plugin.h
\
src/command.h
\
src/idle.h
\
src/conf.h
\
src/decoder_plugin.h
\
src/decoder_command.h
\
...
...
@@ -185,7 +184,7 @@ src_mpd_SOURCES = \
src/OutputCommands.cxx src/OutputCommands.hxx
\
src/MessageCommands.cxx src/MessageCommands.hxx
\
src/OtherCommands.cxx src/OtherCommands.hxx
\
src/
idle.c
\
src/
Idle.cxx src/Idle.hxx
\
src/CommandLine.cxx src/CommandLine.hxx
\
src/conf.c
\
src/CrossFade.cxx src/CrossFade.hxx
\
...
...
src/ClientIdle.cxx
View file @
e86e77ad
...
...
@@ -21,10 +21,7 @@
#include "ClientIdle.hxx"
#include "ClientInternal.hxx"
#include "ClientList.hxx"
extern
"C"
{
#include "idle.h"
}
#include "Idle.hxx"
#include <assert.h>
...
...
src/ClientSubscribe.cxx
View file @
e86e77ad
...
...
@@ -20,10 +20,7 @@
#include "ClientSubscribe.hxx"
#include "ClientIdle.hxx"
#include "ClientInternal.hxx"
extern
"C"
{
#include "idle.h"
}
#include "Idle.hxx"
#include <assert.h>
#include <string.h>
...
...
src/
idle.c
→
src/
Idle.cxx
View file @
e86e77ad
/*
* Copyright (C) 2003-201
1
The Music Player Daemon Project
* Copyright (C) 2003-201
3
The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
...
...
@@ -23,8 +23,11 @@
*/
#include "config.h"
#include "idle.h"
#include "Idle.hxx"
extern
"C"
{
#include "event_pipe.h"
}
#include <assert.h>
#include <glib.h>
...
...
src/
idle.h
→
src/
Idle.hxx
View file @
e86e77ad
/*
* Copyright (C) 2003-201
1
The Music Player Daemon Project
* Copyright (C) 2003-201
3
The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
...
...
@@ -22,8 +22,8 @@
*
*/
#ifndef MPD_IDLE_H
#define MPD_IDLE_H
#ifndef MPD_IDLE_H
XX
#define MPD_IDLE_H
XX
enum
{
/** song database has been updated*/
...
...
src/Main.cxx
View file @
e86e77ad
...
...
@@ -39,11 +39,11 @@
#include "tag.h"
#include "conf.h"
#include "replay_gain_config.h"
#include "Idle.hxx"
extern
"C"
{
#include "daemon.h"
#include "io_thread.h"
#include "idle.h"
#include "path.h"
#include "stats.h"
#include "sig_handlers.h"
...
...
src/OtherCommands.cxx
View file @
e86e77ad
...
...
@@ -44,10 +44,7 @@ extern "C" {
#include "ClientIdle.hxx"
#include "ClientFile.hxx"
#include "Client.hxx"
extern
"C"
{
#include "idle.h"
}
#include "Idle.hxx"
#ifdef ENABLE_SQLITE
#include "StickerDatabase.hxx"
...
...
src/OutputCommand.cxx
View file @
e86e77ad
...
...
@@ -28,12 +28,12 @@
#include "OutputCommand.hxx"
#include "OutputAll.hxx"
#include "PlayerControl.hxx"
#include "Idle.hxx"
extern
"C"
{
#include "output_internal.h"
#include "output_plugin.h"
#include "mixer_control.h"
#include "idle.h"
}
extern
unsigned
audio_output_state_version
;
...
...
src/PlayerControl.cxx
View file @
e86e77ad
...
...
@@ -19,11 +19,7 @@
#include "config.h"
#include "PlayerControl.hxx"
extern
"C"
{
#include "idle.h"
}
#include "Idle.hxx"
#include "song.h"
#include "DecoderControl.hxx"
#include "Main.hxx"
...
...
src/PlayerThread.cxx
View file @
e86e77ad
...
...
@@ -31,10 +31,10 @@
#include "PlayerControl.hxx"
#include "OutputAll.hxx"
#include "tag.h"
#include "Idle.hxx"
extern
"C"
{
#include "event_pipe.h"
#include "idle.h"
}
#include <cmath>
...
...
src/Playlist.cxx
View file @
e86e77ad
...
...
@@ -21,10 +21,7 @@
#include "Playlist.hxx"
#include "PlayerControl.hxx"
#include "song.h"
extern
"C"
{
#include "idle.h"
}
#include "Idle.hxx"
#include <glib.h>
...
...
src/PlaylistEdit.cxx
View file @
e86e77ad
...
...
@@ -30,9 +30,9 @@
extern
"C"
{
#include "uri.h"
#include "song.h"
#include "idle.h"
}
#include "Idle.hxx"
#include "DatabaseGlue.hxx"
#include "DatabasePlugin.hxx"
...
...
src/PlaylistFile.cxx
View file @
e86e77ad
...
...
@@ -29,11 +29,11 @@
#include "Mapper.hxx"
#include "TextFile.hxx"
#include "conf.h"
#include "Idle.hxx"
extern
"C"
{
#include "path.h"
#include "uri.h"
#include "idle.h"
}
#include "glib_compat.h"
...
...
src/PlaylistSave.cxx
View file @
e86e77ad
...
...
@@ -23,11 +23,11 @@
#include "Playlist.hxx"
#include "song.h"
#include "Mapper.hxx"
#include "Idle.hxx"
extern
"C"
{
#include "path.h"
#include "uri.h"
#include "idle.h"
}
#include "glib_compat.h"
...
...
src/ReplayGainConfig.cxx
View file @
e86e77ad
...
...
@@ -19,11 +19,7 @@
#include "config.h"
#include "replay_gain_config.h"
extern
"C"
{
#include "idle.h"
}
#include "Idle.hxx"
#include "conf.h"
#include "Playlist.hxx"
#include "mpd_error.h"
...
...
src/StickerDatabase.cxx
View file @
e86e77ad
...
...
@@ -19,10 +19,7 @@
#include "config.h"
#include "StickerDatabase.hxx"
extern
"C"
{
#include "idle.h"
}
#include "Idle.hxx"
#include <string>
#include <map>
...
...
src/UpdateGlue.cxx
View file @
e86e77ad
...
...
@@ -24,10 +24,10 @@
#include "UpdateRemove.hxx"
#include "Mapper.hxx"
#include "DatabaseSimple.hxx"
#include "Idle.hxx"
extern
"C"
{
#include "event_pipe.h"
#include "idle.h"
#include "stats.h"
}
...
...
src/Volume.cxx
View file @
e86e77ad
...
...
@@ -20,9 +20,9 @@
#include "config.h"
#include "Volume.hxx"
#include "MixerAll.hxx"
#include "Idle.hxx"
extern
"C"
{
#include "idle.h"
#include "event_pipe.h"
}
...
...
test/run_output.cxx
View file @
e86e77ad
...
...
@@ -20,6 +20,7 @@
#include "config.h"
#include "OutputControl.hxx"
#include "conf.h"
#include "Idle.hxx"
extern
"C"
{
#include "output_plugin.h"
...
...
@@ -29,7 +30,6 @@ extern "C" {
#include "filter_registry.h"
#include "pcm_convert.h"
#include "event_pipe.h"
#include "idle.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