queue/Queue{Save,Print}: remove redundant "Queue" prefix from file name

This commit is contained in:
Max Kellermann 2022-02-14 06:08:11 +01:00
parent 90d52b6501
commit 4b41e766c6
7 changed files with 8 additions and 14 deletions

View File

@ -330,8 +330,8 @@ sources = [
'src/playlist/Print.cxx',
'src/db/PlaylistVector.cxx',
'src/queue/Queue.cxx',
'src/queue/QueuePrint.cxx',
'src/queue/QueueSave.cxx',
'src/queue/Print.cxx',
'src/queue/Save.cxx',
'src/queue/Playlist.cxx',
'src/queue/PlaylistControl.cxx',
'src/queue/PlaylistEdit.cxx',

View File

@ -21,7 +21,7 @@
#include "PlaylistFile.hxx"
#include "PlaylistError.hxx"
#include "queue/Playlist.hxx"
#include "queue/QueuePrint.hxx"
#include "queue/Print.hxx"
#include "protocol/RangeArg.hxx"
#define SONG_FILE "file: "

View File

@ -27,7 +27,7 @@
#include "Playlist.hxx"
#include "SingleMode.hxx"
#include "StateFileConfig.hxx"
#include "queue/QueueSave.hxx"
#include "Save.hxx"
#include "io/LineReader.hxx"
#include "io/BufferedOutputStream.hxx"
#include "player/Control.hxx"

View File

@ -17,7 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "QueuePrint.hxx"
#include "Print.hxx"
#include "Queue.hxx"
#include "song/Filter.hxx"
#include "SongPrint.hxx"

View File

@ -22,8 +22,7 @@
* client.
*/
#ifndef MPD_QUEUE_PRINT_HXX
#define MPD_QUEUE_PRINT_HXX
#pragma once
#include <cstdint>
@ -52,5 +51,3 @@ queue_print_changes_position(Response &r, const Queue &queue,
void
queue_find(Response &response, const Queue &queue,
const SongFilter &filter);
#endif

View File

@ -17,7 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "QueueSave.hxx"
#include "Save.hxx"
#include "Queue.hxx"
#include "PlaylistError.hxx"
#include "song/DetachedSong.hxx"

View File

@ -22,8 +22,7 @@
* back into memory.
*/
#ifndef MPD_QUEUE_SAVE_HXX
#define MPD_QUEUE_SAVE_HXX
#pragma once
struct Queue;
class BufferedOutputStream;
@ -41,5 +40,3 @@ queue_save(BufferedOutputStream &os, const Queue &queue);
void
queue_load_song(LineReader &file, const SongLoader &loader,
const char *line, Queue &queue);
#endif