DetachedSong, db/LightSong, SongFilter: move to src/song/

This commit is contained in:
Max Kellermann
2018-08-02 13:45:43 +02:00
parent a31da51fd9
commit 90201e9970
67 changed files with 89 additions and 90 deletions

View File

@@ -20,7 +20,7 @@
#include "config.h"
#include "Partition.hxx"
#include "Instance.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "mixer/Volume.hxx"
#include "IdleFlags.hxx"
#include "client/Listener.hxx"

View File

@@ -23,7 +23,7 @@
#include "PlaylistError.hxx"
#include "db/PlaylistInfo.hxx"
#include "db/PlaylistVector.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "SongLoader.hxx"
#include "Mapper.hxx"
#include "fs/io/TextFile.hxx"

View File

@@ -22,7 +22,7 @@
#include "PlaylistFile.hxx"
#include "PlaylistError.hxx"
#include "queue/Playlist.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "Mapper.hxx"
#include "Idle.hxx"
#include "fs/AllocatedPath.hxx"

View File

@@ -23,7 +23,7 @@
#include "client/Client.hxx"
#include "db/DatabaseSong.hxx"
#include "storage/StorageInterface.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "PlaylistError.hxx"
#include <assert.h>

View File

@@ -19,11 +19,11 @@
#include "config.h"
#include "SongPrint.hxx"
#include "db/LightSong.hxx"
#include "song/LightSong.hxx"
#include "Partition.hxx"
#include "Instance.hxx"
#include "storage/StorageInterface.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "TimePrint.hxx"
#include "TagPrint.hxx"
#include "client/Response.hxx"

View File

@@ -21,7 +21,7 @@
#include "SongSave.hxx"
#include "AudioParser.hxx"
#include "db/plugins/simple/Song.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "TagSave.hxx"
#include "fs/io/TextFile.hxx"
#include "fs/io/BufferedOutputStream.hxx"

View File

@@ -18,7 +18,7 @@
*/
#include "config.h" /* must be first for large file support */
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "db/plugins/simple/Song.hxx"
#include "db/plugins/simple/Directory.hxx"
#include "storage/StorageInterface.hxx"

View File

@@ -34,7 +34,7 @@
#include "util/Exception.hxx"
#include "util/StringAPI.hxx"
#include "util/ASCII.hxx"
#include "SongFilter.hxx"
#include "song/Filter.hxx"
#include "BulkEdit.hxx"
#include <memory>

View File

@@ -26,7 +26,7 @@
#include "db/Uri.hxx"
#include "storage/StorageInterface.hxx"
#include "LocateUri.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "SongPrint.hxx"
#include "TagPrint.hxx"
#include "TagStream.hxx"

View File

@@ -23,9 +23,9 @@
#include "CommandError.hxx"
#include "db/DatabaseQueue.hxx"
#include "db/Selection.hxx"
#include "SongFilter.hxx"
#include "song/Filter.hxx"
#include "SongLoader.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "LocateUri.hxx"
#include "queue/Playlist.hxx"
#include "PlaylistPrint.hxx"

View File

@@ -23,7 +23,7 @@
#include "Interface.hxx"
#include "Partition.hxx"
#include "client/Response.hxx"
#include "LightSong.hxx"
#include "song/LightSong.hxx"
#include "tag/Tag.hxx"
#include "TagPrint.hxx"

View File

@@ -23,7 +23,7 @@
#include "Selection.hxx"
#include "PlaylistFile.hxx"
#include "Interface.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include <functional>

View File

@@ -20,16 +20,16 @@
#include "config.h"
#include "DatabasePrint.hxx"
#include "Selection.hxx"
#include "SongFilter.hxx"
#include "SongPrint.hxx"
#include "DetachedSong.hxx"
#include "TimePrint.hxx"
#include "TagPrint.hxx"
#include "client/Response.hxx"
#include "Partition.hxx"
#include "song/DetachedSong.hxx"
#include "song/Filter.hxx"
#include "song/LightSong.hxx"
#include "tag/Tag.hxx"
#include "tag/Mask.hxx"
#include "LightSong.hxx"
#include "LightDirectory.hxx"
#include "PlaylistInfo.hxx"
#include "Interface.hxx"

View File

@@ -23,7 +23,7 @@
#include "Interface.hxx"
#include "Partition.hxx"
#include "Instance.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include <functional>

View File

@@ -19,9 +19,9 @@
#include "config.h"
#include "DatabaseSong.hxx"
#include "LightSong.hxx"
#include "Interface.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "song/LightSong.hxx"
#include "storage/StorageInterface.hxx"
#include "util/ScopeExit.hxx"

View File

@@ -20,7 +20,7 @@
#include "Helpers.hxx"
#include "Stats.hxx"
#include "Interface.hxx"
#include "LightSong.hxx"
#include "song/LightSong.hxx"
#include "tag/Tag.hxx"
#include <set>

View File

@@ -19,7 +19,7 @@
#include "config.h"
#include "Selection.hxx"
#include "SongFilter.hxx"
#include "song/Filter.hxx"
DatabaseSelection::DatabaseSelection(const char *_uri, bool _recursive,
const SongFilter *_filter)

View File

@@ -19,7 +19,7 @@
#include "UniqueTags.hxx"
#include "Interface.hxx"
#include "LightSong.hxx"
#include "song/LightSong.hxx"
#include "tag/Set.hxx"
#include "tag/Mask.hxx"

View File

@@ -26,9 +26,9 @@
#include "db/DatabaseError.hxx"
#include "db/PlaylistInfo.hxx"
#include "db/LightDirectory.hxx"
#include "db/LightSong.hxx"
#include "song/LightSong.hxx"
#include "db/Stats.hxx"
#include "SongFilter.hxx"
#include "song/Filter.hxx"
#include "Compiler.h"
#include "config/Block.hxx"
#include "tag/Builder.hxx"

View File

@@ -23,11 +23,11 @@
#include "Song.hxx"
#include "Mount.hxx"
#include "db/LightDirectory.hxx"
#include "db/LightSong.hxx"
#include "song/LightSong.hxx"
#include "db/Uri.hxx"
#include "db/DatabaseLock.hxx"
#include "db/Interface.hxx"
#include "SongFilter.hxx"
#include "song/Filter.hxx"
#include "lib/icu/Collate.hxx"
#include "fs/Traits.hxx"
#include "util/Alloc.hxx"

View File

@@ -22,7 +22,7 @@
#include "Directory.hxx"
#include "Song.hxx"
#include "SongSave.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "PlaylistDatabase.hxx"
#include "fs/io/TextFile.hxx"
#include "fs/io/BufferedOutputStream.hxx"

View File

@@ -20,7 +20,7 @@
#include "config.h"
#include "Mount.hxx"
#include "PrefixedLightSong.hxx"
#include "SongFilter.hxx"
#include "song/Filter.hxx"
#include "db/Selection.hxx"
#include "db/LightDirectory.hxx"
#include "db/Interface.hxx"

View File

@@ -21,7 +21,7 @@
#define MPD_DB_SIMPLE_PREFIXED_LIGHT_SONG_HXX
#include "check.h"
#include "db/LightSong.hxx"
#include "song/LightSong.hxx"
#include "fs/Traits.hxx"
#include <string>

View File

@@ -23,7 +23,7 @@
#include "check.h"
#include "db/Interface.hxx"
#include "fs/AllocatedPath.hxx"
#include "db/LightSong.hxx"
#include "song/LightSong.hxx"
#include "util/Manual.hxx"
#include "Compiler.h"

View File

@@ -22,8 +22,8 @@
#include "Directory.hxx"
#include "tag/Tag.hxx"
#include "util/VarSize.hxx"
#include "DetachedSong.hxx"
#include "db/LightSong.hxx"
#include "song/DetachedSong.hxx"
#include "song/LightSong.hxx"
#include <assert.h>
#include <string.h>

View File

@@ -29,7 +29,7 @@
#include "db/Selection.hxx"
#include "db/DatabaseError.hxx"
#include "db/LightDirectory.hxx"
#include "db/LightSong.hxx"
#include "song/LightSong.hxx"
#include "db/Stats.hxx"
#include "config/Block.hxx"
#include "tag/Builder.hxx"
@@ -37,7 +37,7 @@
#include "tag/Mask.hxx"
#include "fs/Traits.hxx"
#include "Log.hxx"
#include "SongFilter.hxx"
#include "song/Filter.hxx"
#include "util/SplitString.hxx"
#include <string>

View File

@@ -20,7 +20,7 @@
#include "config.h" /* must be first for large file support */
#include "Walk.hxx"
#include "UpdateDomain.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "db/DatabaseLock.hxx"
#include "db/plugins/simple/Directory.hxx"
#include "db/plugins/simple/Song.hxx"

View File

@@ -22,7 +22,7 @@
#include "DecoderAPI.hxx"
#include "DecoderError.hxx"
#include "DecoderControl.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "pcm/PcmConvert.hxx"
#include "MusicPipe.hxx"
#include "MusicBuffer.hxx"

View File

@@ -21,7 +21,7 @@
#include "DecoderControl.hxx"
#include "DecoderError.hxx"
#include "MusicPipe.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include <stdexcept>

View File

@@ -23,7 +23,7 @@
#include "Bridge.hxx"
#include "DecoderError.hxx"
#include "DecoderPlugin.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "MusicPipe.hxx"
#include "fs/Traits.hxx"
#include "fs/AllocatedPath.hxx"

View File

@@ -22,7 +22,7 @@
#include "../DecoderAPI.hxx"
#include "config/Block.cxx"
#include "CheckAudioFormat.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "tag/Handler.hxx"
#include "tag/Builder.hxx"
#include "fs/Path.hxx"

View File

@@ -22,7 +22,7 @@
#include "../DecoderAPI.hxx"
#include "tag/Handler.hxx"
#include "tag/Builder.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "fs/Path.hxx"
#include "fs/AllocatedPath.hxx"
#include "util/Macros.hxx"

View File

@@ -21,7 +21,7 @@
#include "Control.hxx"
#include "Outputs.hxx"
#include "Idle.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include <algorithm>

View File

@@ -26,7 +26,7 @@
#include "MusicPipe.hxx"
#include "MusicBuffer.hxx"
#include "MusicChunk.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "CrossFade.hxx"
#include "Control.hxx"
#include "tag/Tag.hxx"

View File

@@ -21,7 +21,7 @@
#define MPD_MEMORY_PLAYLIST_PROVIDER_HXX
#include "SongEnumerator.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "Compiler.h"
#include <forward_list>

View File

@@ -24,7 +24,7 @@
#include "PlaylistError.hxx"
#include "queue/Playlist.hxx"
#include "SongEnumerator.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "thread/Mutex.hxx"
#include "fs/Traits.hxx"

View File

@@ -24,7 +24,7 @@
#include "tag/Builder.hxx"
#include "fs/Traits.hxx"
#include "util/UriUtil.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include <string.h>

View File

@@ -23,7 +23,7 @@
#include "PlaylistSong.hxx"
#include "SongEnumerator.hxx"
#include "SongPrint.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "fs/Traits.hxx"
#include "thread/Mutex.hxx"
#include "Partition.hxx"

View File

@@ -21,7 +21,7 @@
#define MPD_CUE_PARSER_HXX
#include "check.h"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "tag/Builder.hxx"
#include "Compiler.h"

View File

@@ -30,7 +30,7 @@
#include "../cue/CueParser.hxx"
#include "tag/Handler.hxx"
#include "tag/Generic.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "TagFile.hxx"
#include "fs/Traits.hxx"
#include "fs/AllocatedPath.hxx"

View File

@@ -21,7 +21,7 @@
#include "ExtM3uPlaylistPlugin.hxx"
#include "../PlaylistPlugin.hxx"
#include "../SongEnumerator.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "tag/Tag.hxx"
#include "tag/Builder.hxx"
#include "util/StringStrip.hxx"

View File

@@ -27,7 +27,7 @@
#include "FlacPlaylistPlugin.hxx"
#include "../PlaylistPlugin.hxx"
#include "../SongEnumerator.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "fs/Traits.hxx"
#include "fs/AllocatedPath.hxx"
#include "fs/NarrowPath.hxx"

View File

@@ -21,7 +21,7 @@
#include "M3uPlaylistPlugin.hxx"
#include "../PlaylistPlugin.hxx"
#include "../SongEnumerator.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "input/TextInputStream.hxx"
#include "util/StringStrip.hxx"

View File

@@ -23,7 +23,7 @@
#include "../MemorySongEnumerator.hxx"
#include "input/TextInputStream.hxx"
#include "input/InputStream.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "tag/Builder.hxx"
#include "util/ASCII.hxx"
#include "util/StringStrip.hxx"

View File

@@ -21,7 +21,7 @@
#include "XspfPlaylistPlugin.hxx"
#include "../PlaylistPlugin.hxx"
#include "../MemorySongEnumerator.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "input/InputStream.hxx"
#include "tag/Builder.hxx"
#include "util/StringView.hxx"

View File

@@ -22,7 +22,7 @@
#include "Listener.hxx"
#include "PlaylistError.hxx"
#include "player/Control.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "SingleMode.hxx"
#include "Log.hxx"

View File

@@ -26,7 +26,7 @@
#include "Playlist.hxx"
#include "PlaylistError.hxx"
#include "player/Control.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "Log.hxx"
void

View File

@@ -28,7 +28,7 @@
#include "Listener.hxx"
#include "PlaylistError.hxx"
#include "player/Control.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "SongLoader.hxx"
#include <memory>

View File

@@ -26,7 +26,7 @@
#include "config.h"
#include "Playlist.hxx"
#include "PlaylistError.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "tag/Tag.hxx"
#include "tag/Builder.hxx"

View File

@@ -20,8 +20,8 @@
#include "config.h"
#include "Playlist.hxx"
#include "db/Interface.hxx"
#include "db/LightSong.hxx"
#include "DetachedSong.hxx"
#include "song/LightSong.hxx"
#include "song/DetachedSong.hxx"
static bool
UpdatePlaylistSong(const Database &db, DetachedSong &song)

View File

@@ -19,7 +19,7 @@
#include "config.h"
#include "Queue.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
Queue::Queue(unsigned _max_length) noexcept
:max_length(_max_length),

View File

@@ -20,10 +20,10 @@
#include "config.h"
#include "QueuePrint.hxx"
#include "Queue.hxx"
#include "SongFilter.hxx"
#include "song/Filter.hxx"
#include "SongPrint.hxx"
#include "DetachedSong.hxx"
#include "db/LightSong.hxx"
#include "song/DetachedSong.hxx"
#include "song/LightSong.hxx"
#include "client/Response.hxx"
/**

View File

@@ -21,7 +21,7 @@
#include "QueueSave.hxx"
#include "Queue.hxx"
#include "PlaylistError.hxx"
#include "DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "SongSave.hxx"
#include "playlist/PlaylistSong.hxx"
#include "fs/io/TextFile.hxx"

View File

@@ -18,8 +18,8 @@
*/
#include "config.h"
#include "DetachedSong.hxx"
#include "db/LightSong.hxx"
#include "song/DetachedSong.hxx"
#include "song/LightSong.hxx"
#include "util/UriUtil.hxx"
#include "fs/Traits.hxx"

View File

@@ -18,8 +18,8 @@
*/
#include "config.h"
#include "SongFilter.hxx"
#include "db/LightSong.hxx"
#include "Filter.hxx"
#include "LightSong.hxx"
#include "tag/ParseName.hxx"
#include "tag/Tag.hxx"
#include "util/CharUtil.hxx"

View File

@@ -20,7 +20,7 @@
#include "config.h"
#include "SongSticker.hxx"
#include "StickerDatabase.hxx"
#include "db/LightSong.hxx"
#include "song/LightSong.hxx"
#include "db/Interface.hxx"
#include "util/Alloc.hxx"
#include "util/ScopeExit.hxx"