mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-05 21:55:24 +00:00
move struct constructor
This commit is contained in:
parent
69f1ba2a7b
commit
c06bb687f8
@ -324,3 +324,18 @@ void MPRISRemote::MPRISSetVolume(double vol) {
|
||||
playback->SetVolume(vol);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
MPRISMetadataValues::MPRISMetadataValues() {
|
||||
trackid = "";
|
||||
length = 0;
|
||||
artist = "";
|
||||
title = "";
|
||||
album = "";
|
||||
albumArtist = "";
|
||||
genre = "";
|
||||
comment = "";
|
||||
trackNumber = 0;
|
||||
discNumber = 0;
|
||||
available = false;
|
||||
}
|
||||
|
@ -34,20 +34,7 @@ struct MPRISMetadataValues {
|
||||
uint32_t trackNumber;
|
||||
uint32_t discNumber;
|
||||
bool available;
|
||||
|
||||
MPRISMetadataValues() {
|
||||
trackid = "";
|
||||
length = 0;
|
||||
artist = "";
|
||||
title = "";
|
||||
album = "";
|
||||
albumArtist = "";
|
||||
genre = "";
|
||||
comment = "";
|
||||
trackNumber = 0;
|
||||
discNumber = 0;
|
||||
available = false;
|
||||
}
|
||||
MPRISMetadataValues();
|
||||
};
|
||||
|
||||
class MPRISRemote : public IPlaybackRemote {
|
||||
|
Loading…
Reference in New Issue
Block a user