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
3a7c9c7c
Commit
3a7c9c7c
authored
Jan 20, 2021
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
db/simple/ExportedSong: add option to own a Tag
parent
6d08e761
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
ExportedSong.hxx
src/db/plugins/simple/ExportedSong.hxx
+7
-0
No files found.
src/db/plugins/simple/ExportedSong.hxx
View file @
3a7c9c7c
...
...
@@ -21,6 +21,7 @@
#define MPD_DB_SIMPLE_EXPORTED_SONG_HXX
#include "song/LightSong.hxx"
#include "tag/Tag.hxx"
/**
* The return type for Song::Export(). In addition to implementing
...
...
@@ -28,8 +29,14 @@
* a #LightSong, e.g. a merged #Tag.
*/
class
ExportedSong
:
public
LightSong
{
Tag
tag_buffer
;
public
:
using
LightSong
::
LightSong
;
ExportedSong
(
const
char
*
_uri
,
Tag
&&
_tag
)
noexcept
:
LightSong
(
_uri
,
tag_buffer
),
tag_buffer
(
std
::
move
(
_tag
))
{}
};
#endif
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