1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-25 08:58:06 +02:00

Remove some unnecessary declarations in class AudacityProject

This commit is contained in:
Paul Licameli 2019-04-30 07:10:19 -04:00
parent 390af96796
commit e227d4dfb1
2 changed files with 5 additions and 10 deletions

View File

@ -670,13 +670,6 @@ private:
void SetTimerRecordCancelled(){mTimerRecordCanceled=true;}
void ResetTimerRecordCancelled(){mTimerRecordCanceled=false;}
//sort method used by OnSortName and OnSortTime
//currently only supported flags are kAudacitySortByName and kAudacitySortByName
//in the future we might have 0x01 as sort ascending and we can bit or it
#define kAudacitySortByTime (1 << 1)
#define kAudacitySortByName (1 << 2)
void SortTracks(int flags);
private:
int mAudioIOToken{ -1 };
@ -741,9 +734,6 @@ private:
// See explanation in OnCloseWindow
bool mIsBeingDeleted{ false };
// CommandManager needs to use private methods
friend class CommandManager;
// TrackPanelOverlay objects
std::shared_ptr<Overlay>
mIndicatorOverlay, mCursorOverlay;

View File

@ -440,6 +440,11 @@ long mixer_process(void *mixer, float **buffer, long n)
#endif // EXPERIMENTAL_SCOREALIGN
enum{
kAudacitySortByTime = (1 << 1),
kAudacitySortByName = (1 << 2),
};
//sort based on flags. see Project.h for sort flags
void DoSortTracks( AudacityProject &project, int flags )
{