mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-15 09:01:12 +01:00
Type safety in the use of command flags, and make enum wide, allowing more bits
This commit is contained in:
@@ -504,7 +504,8 @@ public:
|
||||
void OnAudioIONewBlockFiles(const AutoSaveFile & blockFileLog) override;
|
||||
|
||||
// Command Handling
|
||||
bool TryToMakeActionAllowed( wxUint32 & flags, wxUint32 flagsRqd, wxUint32 mask );
|
||||
bool TryToMakeActionAllowed
|
||||
( CommandFlag & flags, CommandFlag flagsRqd, CommandFlag mask );
|
||||
|
||||
///Prevents DELETE from external thread - for e.g. use of GetActiveProject
|
||||
static void AllProjectsDeleteLock();
|
||||
@@ -580,7 +581,7 @@ public:
|
||||
|
||||
CommandManager mCommandManager;
|
||||
|
||||
wxUint32 mLastFlags;
|
||||
CommandFlag mLastFlags;
|
||||
|
||||
// Window elements
|
||||
|
||||
|
||||
Reference in New Issue
Block a user