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
0023dffd
Commit
0023dffd
authored
Jan 02, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist_vector: convert to C++
parent
b715e522
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
13 additions
and
18 deletions
+13
-18
Makefile.am
Makefile.am
+2
-3
DatabasePrint.cxx
src/DatabasePrint.cxx
+1
-1
Directory.cxx
src/Directory.cxx
+1
-1
PlaylistDatabase.cxx
src/PlaylistDatabase.cxx
+1
-1
PlaylistVector.cxx
src/PlaylistVector.cxx
+1
-1
PlaylistVector.hxx
src/PlaylistVector.hxx
+3
-4
UpdateDatabase.cxx
src/UpdateDatabase.cxx
+1
-4
UpdateWalk.cxx
src/UpdateWalk.cxx
+1
-1
ProxyDatabasePlugin.cxx
src/db/ProxyDatabasePlugin.cxx
+1
-1
DumpDatabase.cxx
test/DumpDatabase.cxx
+1
-1
No files found.
Makefile.am
View file @
0023dffd
...
...
@@ -144,7 +144,6 @@ mpd_headers = \
src/playlist_internal.h
\
src/playlist_plugin.h
\
src/playlist_list.h
\
src/playlist_vector.h
\
src/playlist/extm3u_playlist_plugin.h
\
src/playlist/m3u_playlist_plugin.h
\
src/playlist/pls_playlist_plugin.h
\
...
...
@@ -307,7 +306,7 @@ src_mpd_SOURCES = \
src/PlaylistSong.cxx src/PlaylistSong.hxx
\
src/PlaylistState.cxx src/PlaylistState.hxx
\
src/PlaylistQueue.cxx src/PlaylistQueue.hxx
\
src/
playlist_vector.c
\
src/
PlaylistVector.cxx
\
src/PlaylistDatabase.cxx
\
src/queue.c
\
src/QueuePrint.cxx src/QueuePrint.hxx
\
...
...
@@ -1076,7 +1075,7 @@ test_DumpDatabase_SOURCES = test/DumpDatabase.cxx \
src/DatabaseRegistry.cxx
\
src/DatabaseSelection.cxx
\
src/Directory.cxx src/DirectorySave.cxx
\
src/
playlist_vector.c
src/PlaylistDatabase.cxx
\
src/
PlaylistVector.cxx
src/PlaylistDatabase.cxx
\
src/db_lock.c src/DatabaseSave.cxx
\
src/Song.cxx src/song_sort.c src/SongSave.cxx
\
src/tag.c src/tag_pool.c src/TagSave.cxx
\
...
...
src/DatabasePrint.cxx
View file @
0023dffd
...
...
@@ -21,6 +21,7 @@
#include "DatabasePrint.hxx"
#include "DatabaseSelection.hxx"
#include "SongFilter.hxx"
#include "PlaylistVector.hxx"
extern
"C"
{
#include "database.h"
...
...
@@ -28,7 +29,6 @@ extern "C" {
#include "song.h"
#include "song_print.h"
#include "time_print.h"
#include "playlist_vector.h"
#include "tag.h"
}
...
...
src/Directory.cxx
View file @
0023dffd
...
...
@@ -20,11 +20,11 @@
#include "config.h"
#include "directory.h"
#include "SongFilter.hxx"
#include "PlaylistVector.hxx"
extern
"C"
{
#include "song.h"
#include "song_sort.h"
#include "playlist_vector.h"
#include "path.h"
#include "util/list_sort.h"
#include "db_lock.h"
...
...
src/PlaylistDatabase.cxx
View file @
0023dffd
...
...
@@ -19,9 +19,9 @@
#include "config.h"
#include "PlaylistDatabase.hxx"
#include "PlaylistVector.hxx"
extern
"C"
{
#include "playlist_vector.h"
#include "text_file.h"
#include "string_util.h"
}
...
...
src/
playlist_vector.c
→
src/
PlaylistVector.cxx
View file @
0023dffd
...
...
@@ -18,7 +18,7 @@
*/
#include "config.h"
#include "
playlist_vector.h
"
#include "
PlaylistVector.hxx
"
#include "db_lock.h"
#include <assert.h>
...
...
src/
playlist_vector.h
→
src/
PlaylistVector.hxx
View file @
0023dffd
/*
* 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,12 +17,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_PLAYLIST_VECTOR_H
#define MPD_PLAYLIST_VECTOR_H
#ifndef MPD_PLAYLIST_VECTOR_H
XX
#define MPD_PLAYLIST_VECTOR_H
XX
#include "util/list.h"
#include <stdbool.h>
#include <stddef.h>
#include <sys/time.h>
...
...
src/UpdateDatabase.cxx
View file @
0023dffd
...
...
@@ -20,14 +20,11 @@
#include "config.h"
/* must be first for large file support */
#include "UpdateDatabase.hxx"
#include "UpdateRemove.hxx"
#include "PlaylistVector.hxx"
#include "directory.h"
#include "song.h"
#include "db_lock.h"
extern
"C"
{
#include "playlist_vector.h"
}
#include <glib.h>
#include <assert.h>
...
...
src/UpdateWalk.cxx
View file @
0023dffd
...
...
@@ -26,11 +26,11 @@
#include "db_lock.h"
#include "directory.h"
#include "song.h"
#include "PlaylistVector.hxx"
extern
"C"
{
#include "exclude.h"
#include "database.h"
#include "playlist_vector.h"
#include "uri.h"
#include "mapper.h"
#include "path.h"
...
...
src/db/ProxyDatabasePlugin.cxx
View file @
0023dffd
...
...
@@ -21,6 +21,7 @@
#include "ProxyDatabasePlugin.hxx"
#include "DatabasePlugin.hxx"
#include "DatabaseSelection.hxx"
#include "PlaylistVector.hxx"
#include "gcc.h"
extern
"C"
{
...
...
@@ -31,7 +32,6 @@ extern "C" {
}
#include "directory.h"
#include "playlist_vector.h"
#undef MPD_DIRECTORY_H
#undef MPD_SONG_H
...
...
test/DumpDatabase.cxx
View file @
0023dffd
...
...
@@ -23,7 +23,7 @@
#include "DatabaseSelection.hxx"
#include "directory.h"
#include "song.h"
#include "
playlist_vector.h
"
#include "
PlaylistVector.hxx
"
extern
"C"
{
#include "conf.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