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
31bc9416
Commit
31bc9416
authored
Apr 17, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
song_sort: convert to C++
parent
9e5d2c5b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
9 deletions
+12
-9
Makefile.am
Makefile.am
+2
-2
Directory.cxx
src/Directory.cxx
+1
-1
SongSort.cxx
src/SongSort.cxx
+6
-3
SongSort.hxx
src/SongSort.hxx
+3
-3
No files found.
Makefile.am
View file @
31bc9416
...
...
@@ -88,7 +88,6 @@ mpd_headers = \
src/replay_gain_ape.h
\
src/TimePrint.cxx src/TimePrint.hxx
\
src/song.h
\
src/song_sort.c src/song_sort.h
\
src/stats.h
\
src/tag.h
\
src/tag_internal.h
\
...
...
@@ -226,6 +225,7 @@ src_mpd_SOURCES = \
src/SongUpdate.cxx
\
src/SongPrint.cxx src/SongPrint.hxx
\
src/SongSave.cxx src/SongSave.hxx
\
src/SongSort.cxx src/SongSort.hxx
\
src/resolver.c src/resolver.h
\
src/SocketUtil.cxx src/SocketUtil.hxx
\
src/StateFile.cxx src/StateFile.hxx
\
...
...
@@ -1054,7 +1054,7 @@ test_DumpDatabase_SOURCES = test/DumpDatabase.cxx \
src/Directory.cxx src/DirectorySave.cxx
\
src/PlaylistVector.cxx src/PlaylistDatabase.cxx
\
src/DatabaseLock.cxx src/DatabaseSave.cxx
\
src/Song.cxx src/
song_sort.c src/SongSave
.cxx
\
src/Song.cxx src/
SongSave.cxx src/SongSort
.cxx
\
src/Tag.cxx src/TagNames.c src/TagPool.cxx src/TagSave.cxx
\
src/SongFilter.cxx
\
src/TextFile.cxx
...
...
src/Directory.cxx
View file @
31bc9416
...
...
@@ -22,10 +22,10 @@
#include "SongFilter.hxx"
#include "PlaylistVector.hxx"
#include "DatabaseLock.hxx"
#include "SongSort.hxx"
extern
"C"
{
#include "song.h"
#include "song_sort.h"
#include "util/list_sort.h"
}
...
...
src/
song_sort.c
→
src/
SongSort.cxx
View file @
31bc9416
/*
* Copyright (C) 2003-201
2
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,12 +18,15 @@
*/
#include "config.h"
#include "
song_sort.h
"
#include "
SongSort.hxx
"
#include "song.h"
#include "util/list.h"
#include "util/list_sort.h"
#include "tag.h"
extern
"C"
{
#include "util/list_sort.h"
}
#include <glib.h>
#include <assert.h>
...
...
src/
song_sort.h
→
src/
SongSort.hxx
View file @
31bc9416
/*
* Copyright (C) 2003-201
2
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_SONG_SORT_H
#define MPD_SONG_SORT_H
#ifndef MPD_SONG_SORT_H
XX
#define MPD_SONG_SORT_H
XX
struct
list_head
;
...
...
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