/* * Strawberry Music Player * Copyright 2024, Jonas Kvinge * * Strawberry is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Strawberry is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Strawberry. If not, see . * */ #ifndef TAGREADERWRITEFILEREQUEST_H #define TAGREADERWRITEFILEREQUEST_H #include #include "core/shared_ptr.h" #include "core/song.h" #include "tagreaderrequest.h" #include "savetagsoptions.h" #include "savetagcoverdata.h" using std::make_shared; class TagReaderWriteFileRequest : public TagReaderRequest { public: explicit TagReaderWriteFileRequest(const QString &_filename); static SharedPtr Create(const QString &filename) { return make_shared(filename); } SaveTagsOptions save_tags_options; Song song; SaveTagCoverData save_tag_cover_data; }; using TagReaderWriteFileRequestPtr = SharedPtr; #endif // TAGREADERWRITEFILEREQUEST_H