11#ifndef __AUDACITY_JOURNAL__
12#define __AUDACITY_JOURNAL__
22#undef END_USER_JOURNALLING
63 void Sync(
const wxString &
string );
64 void Sync(
const wxArrayString &strings );
65 void Sync( std::initializer_list< const wxString > strings );
Declare abstract class AudacityException, some often-used subclasses, and GuardedCall.
Base class for exceptions specially processed by the application.
SyncException(const wxString &message)
Constructs an exception with a message; message is logged into the journallog.txt file.
~SyncException() override
void DelayedHandlerAction() override
Action to do in the main thread at idle time of the event loop.
Extend wxArrayString with move operations and construction and insertion fromstd::initializer_list.
Facilities for recording and playback of sequences of user interaction.
void Sync(const wxString &string)
int IfNotPlaying(const wxString &string, const InteractiveAction &action)
Call action only if not replaying; synchronize on string and int values.
bool SetRecordEnabled(bool value)
wxArrayStringEx GetTokens()
bool Begin(const FilePath &dataDir)
std::function< int() > InteractiveAction
Function that returns a value which will be written to the journal.
void SetInputFileName(const wxString &path)