*_print: convert to C++
This commit is contained in:
@@ -22,13 +22,13 @@
|
||||
#include "DatabaseSelection.hxx"
|
||||
#include "SongFilter.hxx"
|
||||
#include "PlaylistVector.hxx"
|
||||
#include "SongPrint.hxx"
|
||||
#include "TimePrint.hxx"
|
||||
|
||||
extern "C" {
|
||||
#include "database.h"
|
||||
#include "client.h"
|
||||
#include "song.h"
|
||||
#include "song_print.h"
|
||||
#include "time_print.h"
|
||||
#include "tag.h"
|
||||
}
|
||||
|
||||
|
@@ -24,11 +24,13 @@
|
||||
#include "UpdateGlue.hxx"
|
||||
#include "directory.h"
|
||||
#include "song.h"
|
||||
#include "SongPrint.hxx"
|
||||
#include "TagPrint.hxx"
|
||||
#include "TimePrint.hxx"
|
||||
|
||||
extern "C" {
|
||||
#include "protocol/argparser.h"
|
||||
#include "protocol/result.h"
|
||||
#include "time_print.h"
|
||||
#include "ls.h"
|
||||
#include "uri.h"
|
||||
#include "decoder_print.h"
|
||||
@@ -43,10 +45,8 @@ extern "C" {
|
||||
#include "client.h"
|
||||
#include "client_idle.h"
|
||||
#include "client_file.h"
|
||||
#include "tag_print.h"
|
||||
#include "idle.h"
|
||||
#include "mapper.h"
|
||||
#include "song_print.h"
|
||||
}
|
||||
|
||||
#ifdef ENABLE_SQLITE
|
||||
|
@@ -25,12 +25,12 @@
|
||||
#include "PlaylistSave.hxx"
|
||||
#include "PlaylistFile.hxx"
|
||||
#include "PlaylistQueue.hxx"
|
||||
#include "TimePrint.hxx"
|
||||
|
||||
extern "C" {
|
||||
#include "protocol/argparser.h"
|
||||
#include "protocol/result.h"
|
||||
#include "playlist.h"
|
||||
#include "time_print.h"
|
||||
#include "ls.h"
|
||||
#include "uri.h"
|
||||
#include "client_internal.h"
|
||||
|
@@ -23,12 +23,12 @@
|
||||
#include "PlaylistAny.hxx"
|
||||
#include "PlaylistSong.hxx"
|
||||
#include "QueuePrint.hxx"
|
||||
#include "SongPrint.hxx"
|
||||
|
||||
extern "C" {
|
||||
#include "playlist_list.h"
|
||||
#include "playlist_plugin.h"
|
||||
#include "playlist.h"
|
||||
#include "song_print.h"
|
||||
#include "song.h"
|
||||
#include "database.h"
|
||||
#include "client.h"
|
||||
|
@@ -20,11 +20,11 @@
|
||||
#include "config.h"
|
||||
#include "QueuePrint.hxx"
|
||||
#include "SongFilter.hxx"
|
||||
#include "SongPrint.hxx"
|
||||
|
||||
extern "C" {
|
||||
#include "queue.h"
|
||||
#include "song.h"
|
||||
#include "song_print.h"
|
||||
#include "client.h"
|
||||
#include "mapper.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
|
||||
@@ -18,14 +18,17 @@
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "song_print.h"
|
||||
#include "time_print.h"
|
||||
#include "SongPrint.hxx"
|
||||
#include "song.h"
|
||||
#include "directory.h"
|
||||
#include "tag_print.h"
|
||||
#include "TimePrint.hxx"
|
||||
#include "TagPrint.hxx"
|
||||
|
||||
extern "C" {
|
||||
#include "client.h"
|
||||
#include "uri.h"
|
||||
#include "mapper.h"
|
||||
}
|
||||
|
||||
void
|
||||
song_print_uri(struct client *client, struct song *song)
|
@@ -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,12 +17,11 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#ifndef MPD_SONG_PRINT_H
|
||||
#define MPD_SONG_PRINT_H
|
||||
#ifndef MPD_SONG_PRINT_HXX
|
||||
#define MPD_SONG_PRINT_HXX
|
||||
|
||||
struct client;
|
||||
struct song;
|
||||
struct songvec;
|
||||
|
||||
void
|
||||
song_print_info(struct client *client, struct song *song);
|
@@ -19,12 +19,12 @@
|
||||
|
||||
#include "config.h"
|
||||
#include "StickerCommands.hxx"
|
||||
#include "SongPrint.hxx"
|
||||
|
||||
extern "C" {
|
||||
#include "protocol/result.h"
|
||||
#include "sticker.h"
|
||||
#include "sticker_print.h"
|
||||
#include "song_print.h"
|
||||
#include "song_sticker.h"
|
||||
#include "database.h"
|
||||
#include "db_lock.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
|
||||
@@ -18,12 +18,15 @@
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "tag_print.h"
|
||||
#include "TagPrint.hxx"
|
||||
#include "tag.h"
|
||||
#include "tag_internal.h"
|
||||
#include "client.h"
|
||||
#include "song.h"
|
||||
|
||||
extern "C" {
|
||||
#include "client.h"
|
||||
}
|
||||
|
||||
void tag_print_types(struct client *client)
|
||||
{
|
||||
int i;
|
@@ -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_TAG_PRINT_H
|
||||
#define MPD_TAG_PRINT_H
|
||||
#ifndef MPD_TAG_PRINT_HXX
|
||||
#define MPD_TAG_PRINT_HXX
|
||||
|
||||
struct tag;
|
||||
struct client;
|
@@ -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,8 +18,11 @@
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "time_print.h"
|
||||
#include "TimePrint.hxx"
|
||||
|
||||
extern "C" {
|
||||
#include "client.h"
|
||||
}
|
||||
|
||||
#include <glib.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
|
||||
@@ -17,8 +17,8 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#ifndef MPD_TIME_PRINT_H
|
||||
#define MPD_TIME_PRINT_H
|
||||
#ifndef MPD_TIME_PRINT_HXX
|
||||
#define MPD_TIME_PRINT_HXX
|
||||
|
||||
#include <time.h>
|
||||
|
Reference in New Issue
Block a user