aboutsummaryrefslogtreecommitdiffstats
path: root/src/Mapper.hxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* LightSong: new class to be used by DatabasePlugin callbacksMax Kellermann2014-01-191-1/+2
| | | | | Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread.
* Mapper: add function map_song_detach()Max Kellermann2014-01-171-0/+8
| | | | | | Make the DetachedSong(Song) conversion constructor private. Everybody should use map_song_detach() which will take over more responsibilities soon.
* copyright year 2014Max Kellermann2014-01-131-1/+1
|
* DetachedSong: fork of struct SongMax Kellermann2014-01-091-0/+5
| | | | | | From now on, struct Song will be used by the database only, and DetachedSong will be used by everybody else. DetachedSong is easier to use, but Song has lower overhead.
* Mapper: update API documentationMax Kellermann2013-12-041-2/+1
|
* include cleanup using iwyuMax Kellermann2013-11-281-1/+0
|
* Mapper: _get_music_directory_utf8() may return nullptrMax Kellermann2013-11-221-1/+2
| | | | | | If no music_directory is configured, return nullptr instead of an empty string. This fixes a crash when db_file is configured without music_directory.
* *: use references instead of pointersMax Kellermann2013-10-191-3/+3
|
* fs/Path: rename to AllocatedPathMax Kellermann2013-10-171-8/+9
| | | | | | | The new class Path only holds a string pointer without being responsible for allocation/deallocation. The FileSystem.hxx library accepts Path arguments instead of AllocatedPath, to avoid forcing callers to allocate another string object.
* gcc.h: rename to Compiler.hMax Kellermann2013-10-151-1/+1
|
* Mapper: map_fs_to_utf8() returns std::stringMax Kellermann2013-10-141-3/+6
| | | | Avoid the conversion to an allocated char*, let the caller decide.
* util/Error: new error passing libraryMax Kellermann2013-09-041-1/+0
| | | | Replaces GLib's GError.
* ConfigPath: return a Path objectMax Kellermann2013-08-071-2/+2
| | | | | Migrate all callers to use Path directly, instead of doing the conversion in each caller.
* song: convert header to C++Max Kellermann2013-07-281-2/+2
|
* Path::FromUTF8() returns nulled instance on error, add error handling where ↵Denis Krjuchkov2013-01-281-1/+2
| | | | required
* Mapper: improve usage of Path classDenis Krjuchkov2013-01-261-2/+2
|
* Path: new class "Path" wraps filesystem path stringsMax Kellermann2013-01-181-9/+10
|
* Directory: rename struct directory to DirectoryMax Kellermann2013-01-031-3/+3
|
* mapper: convert to C++Max Kellermann2013-01-021-0/+144