diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-04-12 14:50:24 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-04-12 14:50:24 +0200 |
commit | 20c5726e9442ebaf3711043cc0f317a600fb9c75 (patch) | |
tree | 43bf21f5ebb987bb2c0af957a959458bf99c42d1 /src/drumkit.h | |
parent | e61e6df43ab0b9014f524abf76ea033086b7dcdf (diff) |
Make sure that drumkit::clear clear all metadata.
Diffstat (limited to 'src/drumkit.h')
-rw-r--r-- | src/drumkit.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/drumkit.h b/src/drumkit.h index 4cee6be..aee5d19 100644 --- a/src/drumkit.h +++ b/src/drumkit.h @@ -18,7 +18,7 @@ * DrumGizmo 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 Lesser General Public License for more details. + * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software @@ -68,9 +68,11 @@ private: std::string _file; - std::string _name; - std::string _description; - float _samplerate{44100.0f}; - - VersionStr _version; + struct MetaData + { + std::string _name; + std::string _description; + float _samplerate{44100.0f}; + VersionStr _version; + } metadata; }; |