audacia/src/CommonCommandFlags.h
Paul Licameli 406b23cae7 More uses of AUDACITY_DLL_API...
... in many places where the function call will later need to be between
modules (or libraries, or the executable) and the annotation will be a necessity
to keep the linkage working on Windows.

That's all that this sweeping commit does.
2021-05-10 10:46:55 -04:00

67 lines
1.8 KiB
C

/**********************************************************************
Audacity: A Digital Audio Editor
CommonCommandFlags.h
Paul Licameli split from Menus.cpp
**********************************************************************/
#ifndef __AUDACITY_COMMON_COMMAND_FLAGS__
#define __AUDACITY_COMMON_COMMAND_FLAGS__
#include "commands/CommandFlag.h"
AUDACITY_DLL_API
bool EditableTracksSelectedPred( const AudacityProject &project );
AUDACITY_DLL_API
bool AudioIOBusyPred( const AudacityProject &project );
AUDACITY_DLL_API
bool TimeSelectedPred( const AudacityProject &project );
AUDACITY_DLL_API
const CommandFlagOptions &cutCopyOptions();
extern AUDACITY_DLL_API const ReservedCommandFlag
&AudioIONotBusyFlag(),
&StereoRequiredFlag(), //lda
&NoiseReductionTimeSelectedFlag(),
&TimeSelectedFlag(), // This is equivalent to check if there is a valid selection, so it's used for Zoom to Selection too
&WaveTracksSelectedFlag(),
&TracksExistFlag(),
&EditableTracksSelectedFlag(),
&AnyTracksSelectedFlag(),
&TrackPanelHasFocus(); //lll
extern AUDACITY_DLL_API const ReservedCommandFlag
&AudioIOBusyFlag(), // lll
&CaptureNotBusyFlag();
extern AUDACITY_DLL_API const ReservedCommandFlag
&LabelTracksExistFlag(),
&UnsavedChangesFlag(),
&UndoAvailableFlag(),
&RedoAvailableFlag(),
&ZoomInAvailableFlag(),
&ZoomOutAvailableFlag(),
&PlayRegionLockedFlag(), //msmeyer
&PlayRegionNotLockedFlag(), //msmeyer
&WaveTracksExistFlag(),
&NoteTracksExistFlag(), //gsw
&NoteTracksSelectedFlag(), //gsw
&IsNotSyncLockedFlag(), //awd
&IsSyncLockedFlag(), //awd
&NotMinimizedFlag(), // prl
&PausedFlag(), // jkc
&PlayableTracksExistFlag(),
&AudioTracksSelectedFlag(),
&NoAutoSelect() // jkc
;
#endif