From 345fb0cc41b94b08134dc1f40020b4bf26e1d46b Mon Sep 17 00:00:00 2001 From: "Tim E. Real" Date: Sat, 4 Aug 2012 22:14:50 +0000 Subject: REWRITE: Introducing: More bits for Song Changed SC_* flags. Added MusECore::SongChangedFlags_t (in new type_defs.h file). Declared as int64 type. All Song Changed parameters, handlers, connections, calls, colateral operations etc. now use this new SongChangedFlags_t. All the handlers are now ready for the code bodies to accept any extra flags, devs need not do anything more than define new SC_* flags and write support inside the handlers. Please beware these possible extra flags when writing songChanged handlers and setting updateFlags. --- muse2/ChangeLog | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'muse2/ChangeLog') diff --git a/muse2/ChangeLog b/muse2/ChangeLog index 1bfd0e97..8cd17adf 100644 --- a/muse2/ChangeLog +++ b/muse2/ChangeLog @@ -1,12 +1,11 @@ 04.08.2012: * Introducing: More bits for Song Changed SC_* flags. (Tim) - Added member Song::updateFlags2. (Various song commands and undo/redo use the update flags). - Song::update() now takes an extra 'flags2' param, default is zero, with a HACK: If flags is -1 - (as in a call to update() with no params), it is highly unlikely someone actually wanted - all 32 flags bits set but not flags2, so flags2 is also forced to -1 in that case. - - Please beware these possible extra flags when writing songChanged handlers and setting updateFlags. - No place uses them yet. We can recognize them as necessary, as we go, by adding an extra flags2 - param to the various songChanged handlers. + Added MusECore::SongChangedFlags_t (in new type_defs.h file). Declared as int64 type. + All Song Changed parameters, handlers, connections, calls, colateral operations etc. now use + this new SongChangedFlags_t. + All the handlers are now ready for the code bodies to accept any extra flags, devs need not + do anything more than define new SC_* flags and write support inside the handlers. + Please beware these possible extra flags when writing songChanged handlers and setting updateFlags. 04.08.2012: - Optimizations: Added Master::songChanged and ArrangerView::songChanged to filter some SCs. (Tim) 01.08.2012: -- cgit v1.2.3