sig_handlers, log: convert to C++

This commit is contained in:
Max Kellermann
2013-01-09 22:33:06 +01:00
parent d3e1b72d38
commit 8eacd13ce7
7 changed files with 19 additions and 25 deletions

View File

@@ -21,11 +21,7 @@
#include "CommandLine.hxx"
#include "path.h"
#include "ls.hxx"
extern "C" {
#include "log.h"
}
#include "Log.hxx"
#include "conf.h"
#include "decoder_list.h"
#include "decoder_plugin.h"

View File

@@ -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
@@ -18,7 +18,7 @@
*/
#include "config.h"
#include "log.h"
#include "Log.hxx"
#include "conf.h"
#include "utils.h"
#include "fd_util.h"

View File

@@ -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
@@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_LOG_H
#define MPD_LOG_H
#ifndef MPD_LOG_HXX
#define MPD_LOG_HXX
#include <glib.h>
#include <stdbool.h>

View File

@@ -41,15 +41,15 @@
#include "conf.h"
#include "replay_gain_config.h"
#include "Idle.hxx"
#include "SignalHandlers.hxx"
#include "Log.hxx"
extern "C" {
#include "daemon.h"
#include "io_thread.h"
#include "path.h"
#include "stats.h"
#include "sig_handlers.h"
#include "audio_config.h"
#include "log.h"
#include "pcm_resample.h"
#include "decoder_list.h"
#include "input_init.h"

View File

@@ -18,11 +18,11 @@
*/
#include "config.h"
#include "sig_handlers.h"
#include "SignalHandlers.hxx"
#ifndef WIN32
#include "log.h"
#include "Log.hxx"
#include "Main.hxx"
#include "event_pipe.h"
#include "mpd_error.h"

View File

@@ -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
@@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_SIG_HANDLERS_H
#define MPD_SIG_HANDLERS_H
#ifndef MPD_SIGNAL_HANDLERS_HXX
#define MPD_SIGNAL_HANDLERS_HXX
void initSigHandlers(void);