Skip to content

Commit

Permalink
Separate class for extended note range upgrade (#6548)
Browse files Browse the repository at this point in the history
Extract the code that upgrades the extended note range into its own
class. This hides the helper functions that are related to the upgrade
from the other upgrade methods in DataFile.cpp.

The header file is put into the src/core directory as it is not part of
the public interface and therefore should not be included in the
"global" include directory. The whole thing is just an implementation
detail of the upgrade in DataFile.cpp.
  • Loading branch information
michaelgregorius committed Aug 11, 2023
1 parent dac1f77 commit 5335f6d
Show file tree
Hide file tree
Showing 4 changed files with 483 additions and 388 deletions.
2 changes: 2 additions & 0 deletions src/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ set(LMMS_SRCS
core/ToolPlugin.cpp
core/Track.cpp
core/TrackContainer.cpp
core/UpgradeExtendedNoteRange.h
core/UpgradeExtendedNoteRange.cpp
core/Clip.cpp
core/ValueBuffer.cpp
core/VstSyncController.cpp
Expand Down
Loading

0 comments on commit 5335f6d

Please sign in to comment.