Audacity  3.0.3
CommonCommandFlags.h
Go to the documentation of this file.
1 /**********************************************************************
2 
3 Audacity: A Digital Audio Editor
4 
5 CommonCommandFlags.h
6 
7 Paul Licameli split from Menus.cpp
8 
9 **********************************************************************/
10 
11 #ifndef __AUDACITY_COMMON_COMMAND_FLAGS__
12 #define __AUDACITY_COMMON_COMMAND_FLAGS__
13 
14 
15 
16 #include "commands/CommandFlag.h"
17 
18 AUDACITY_DLL_API
19 bool EditableTracksSelectedPred( const AudacityProject &project );
20 
21 AUDACITY_DLL_API
22 bool AudioIOBusyPred( const AudacityProject &project );
23 
24 AUDACITY_DLL_API
25 bool TimeSelectedPred( const AudacityProject &project );
26 
27 AUDACITY_DLL_API
29 
30 extern AUDACITY_DLL_API const ReservedCommandFlag
34  &TimeSelectedFlag(), // This is equivalent to check if there is a valid selection, so it's used for Zoom to Selection too
39  &TrackPanelHasFocus(); //lll
40 
41 extern AUDACITY_DLL_API const ReservedCommandFlag
42  &AudioIOBusyFlag(), // lll
44 
45 extern AUDACITY_DLL_API const ReservedCommandFlag
54  &IsSyncLockedFlag(), //awd
55  &NotMinimizedFlag(), // prl
56  &PausedFlag(), // jkc
57  &NoAutoSelect() // jkc
58 ;
59 
60 #endif
AnyTracksSelectedFlag
AUDACITY_DLL_API const ReservedCommandFlag & AnyTracksSelectedFlag()
EditableTracksSelectedFlag
AUDACITY_DLL_API const ReservedCommandFlag & EditableTracksSelectedFlag()
CaptureNotBusyFlag
AUDACITY_DLL_API const ReservedCommandFlag & CaptureNotBusyFlag()
Definition: CommonCommandFlags.cpp:213
UndoAvailableFlag
AUDACITY_DLL_API const ReservedCommandFlag & UndoAvailableFlag()
WaveTracksExistFlag
AUDACITY_DLL_API const ReservedCommandFlag & WaveTracksExistFlag()
AudioIOBusyPred
AUDACITY_DLL_API bool AudioIOBusyPred(const AudacityProject &project)
Definition: CommonCommandFlags.cpp:60
ReservedCommandFlag
Definition: CommandFlag.h:89
TimeSelectedFlag
AUDACITY_DLL_API const ReservedCommandFlag & TimeSelectedFlag()
EditableTracksSelectedPred
AUDACITY_DLL_API bool EditableTracksSelectedPred(const AudacityProject &project)
Definition: CommonCommandFlags.cpp:45
TimeSelectedPred
AUDACITY_DLL_API bool TimeSelectedPred(const AudacityProject &project)
Definition: CommonCommandFlags.cpp:66
NoiseReductionTimeSelectedFlag
AUDACITY_DLL_API const ReservedCommandFlag & NoiseReductionTimeSelectedFlag()
LabelTracksExistFlag
AUDACITY_DLL_API const ReservedCommandFlag & LabelTracksExistFlag()
WaveTracksSelectedFlag
AUDACITY_DLL_API const ReservedCommandFlag & WaveTracksSelectedFlag()
NotMinimizedFlag
AUDACITY_DLL_API const ReservedCommandFlag & NotMinimizedFlag()
AudioIONotBusyFlag
AUDACITY_DLL_API const ReservedCommandFlag & AudioIONotBusyFlag()
cutCopyOptions
AUDACITY_DLL_API const CommandFlagOptions & cutCopyOptions()
Definition: CommonCommandFlags.cpp:73
ZoomInAvailableFlag
AUDACITY_DLL_API const ReservedCommandFlag & ZoomInAvailableFlag()
IsSyncLockedFlag
AUDACITY_DLL_API const ReservedCommandFlag & IsSyncLockedFlag()
TrackPanelHasFocus
AUDACITY_DLL_API const ReservedCommandFlag & TrackPanelHasFocus()
Definition: CommonCommandFlags.cpp:196
CommandFlagOptions
Definition: CommandFlag.h:38
UnsavedChangesFlag
AUDACITY_DLL_API const ReservedCommandFlag & UnsavedChangesFlag()
RedoAvailableFlag
AUDACITY_DLL_API const ReservedCommandFlag & RedoAvailableFlag()
AudioIOBusyFlag
AUDACITY_DLL_API const ReservedCommandFlag & AudioIOBusyFlag()
TracksExistFlag
AUDACITY_DLL_API const ReservedCommandFlag & TracksExistFlag()
IsNotSyncLockedFlag
AUDACITY_DLL_API const ReservedCommandFlag & IsNotSyncLockedFlag()
AudacityProject
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:92
PausedFlag
AUDACITY_DLL_API const ReservedCommandFlag & PausedFlag()
StereoRequiredFlag
AUDACITY_DLL_API const ReservedCommandFlag & StereoRequiredFlag()
ZoomOutAvailableFlag
AUDACITY_DLL_API const ReservedCommandFlag & ZoomOutAvailableFlag()
CommandFlag.h
NoAutoSelect
AUDACITY_DLL_API const ReservedCommandFlag & NoAutoSelect()
Definition: CommonCommandFlags.cpp:312