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
2452447c
Commit
2452447c
authored
Jan 03, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
text_file: convert to C++
parent
93f0bb83
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
15 additions
and
19 deletions
+15
-19
Makefile.am
Makefile.am
+2
-3
DatabaseSave.cxx
src/DatabaseSave.cxx
+1
-1
DirectorySave.cxx
src/DirectorySave.cxx
+1
-4
PlaylistDatabase.cxx
src/PlaylistDatabase.cxx
+1
-1
PlaylistFile.cxx
src/PlaylistFile.cxx
+1
-1
PlaylistState.cxx
src/PlaylistState.cxx
+1
-1
QueueSave.cxx
src/QueueSave.cxx
+1
-1
SongSave.cxx
src/SongSave.cxx
+1
-1
StateFile.cxx
src/StateFile.cxx
+1
-1
TextFile.cxx
src/TextFile.cxx
+2
-2
TextFile.hxx
src/TextFile.hxx
+3
-3
No files found.
Makefile.am
View file @
2452447c
...
...
@@ -101,7 +101,6 @@ mpd_headers = \
src/input/despotify_input_plugin.h
\
src/input/cdio_paranoia_input_plugin.h
\
src/despotify_utils.h
\
src/text_file.h
\
src/text_input_stream.h
\
src/icy_server.h
\
src/icy_metadata.h
\
...
...
@@ -318,7 +317,7 @@ src_mpd_SOURCES = \
src/tag_handler.c src/tag_handler.h
\
src/tag_file.c src/tag_file.h
\
src/tokenizer.c
\
src/
text_file.c
\
src/
TextFile.cxx src/TextFile.hxx
\
src/text_input_stream.c
\
src/uri.c
\
src/utils.c
\
...
...
@@ -1069,7 +1068,7 @@ test_DumpDatabase_SOURCES = test/DumpDatabase.cxx \
src/tag.c src/tag_pool.c src/TagSave.cxx
\
src/path.c
\
src/SongFilter.cxx
\
src/
text_file.c
\
src/
TextFile.cxx
\
src/conf.c src/tokenizer.c src/utils.c src/string_util.c
test_RunInput_LDADD
=
\
...
...
src/DatabaseSave.cxx
View file @
2452447c
...
...
@@ -23,10 +23,10 @@
#include "Directory.hxx"
#include "DirectorySave.hxx"
#include "song.h"
#include "TextFile.hxx"
extern
"C"
{
#include "path.h"
#include "text_file.h"
#include "tag.h"
#include "tag_internal.h"
}
...
...
src/DirectorySave.cxx
View file @
2452447c
...
...
@@ -23,10 +23,7 @@
#include "song.h"
#include "SongSave.hxx"
#include "PlaylistDatabase.hxx"
extern
"C"
{
#include "text_file.h"
}
#include "TextFile.hxx"
#include <assert.h>
#include <string.h>
...
...
src/PlaylistDatabase.cxx
View file @
2452447c
...
...
@@ -20,9 +20,9 @@
#include "config.h"
#include "PlaylistDatabase.hxx"
#include "PlaylistVector.hxx"
#include "TextFile.hxx"
extern
"C"
{
#include "text_file.h"
#include "string_util.h"
}
...
...
src/PlaylistFile.cxx
View file @
2452447c
...
...
@@ -25,9 +25,9 @@
#include "song.h"
#include "io_error.h"
#include "Mapper.hxx"
#include "TextFile.hxx"
extern
"C"
{
#include "text_file.h"
#include "path.h"
#include "uri.h"
#include "idle.h"
...
...
src/PlaylistState.cxx
View file @
2452447c
...
...
@@ -25,11 +25,11 @@
#include "config.h"
#include "PlaylistState.hxx"
#include "QueueSave.hxx"
#include "TextFile.hxx"
extern
"C"
{
#include "playlist.h"
#include "player_control.h"
#include "text_file.h"
#include "conf.h"
}
...
...
src/QueueSave.cxx
View file @
2452447c
...
...
@@ -23,11 +23,11 @@
#include "SongSave.hxx"
#include "DatabasePlugin.hxx"
#include "DatabaseGlue.hxx"
#include "TextFile.hxx"
extern
"C"
{
#include "queue.h"
#include "uri.h"
#include "text_file.h"
}
#include <stdlib.h>
...
...
src/SongSave.cxx
View file @
2452447c
...
...
@@ -22,10 +22,10 @@
#include "song.h"
#include "TagSave.hxx"
#include "Directory.hxx"
#include "TextFile.hxx"
extern
"C"
{
#include "tag.h"
#include "text_file.h"
#include "string_util.h"
}
...
...
src/StateFile.cxx
View file @
2452447c
...
...
@@ -22,10 +22,10 @@
#include "OutputState.hxx"
#include "playlist.h"
#include "PlaylistState.hxx"
#include "TextFile.hxx"
extern
"C"
{
#include "volume.h"
#include "text_file.h"
}
#include <glib.h>
...
...
src/
text_file.c
→
src/
TextFile.cxx
View file @
2452447c
/*
* 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
...
...
@@ -18,7 +18,7 @@
*/
#include "config.h"
#include "
text_file.h
"
#include "
TextFile.hxx
"
#include <assert.h>
#include <string.h>
...
...
src/
text_file.h
→
src/
TextFile.hxx
View file @
2452447c
/*
* 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
...
...
@@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_TEXT_FILE_H
#define MPD_TEXT_FILE_H
#ifndef MPD_TEXT_FILE_H
XX
#define MPD_TEXT_FILE_H
XX
#include <glib.h>
...
...
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