Audacity 3.2.0
|
Contains definitions for ScriptCommandRelay. More...
#include "ScriptCommandRelay.h"
#include "CommandTargets.h"
#include "CommandBuilder.h"
#include "ActiveProject.h"
#include "AppCommandEvent.h"
#include "Project.h"
#include <wx/app.h>
#include <thread>
Go to the source code of this file.
Functions | |
static int | ExecCommand (wxString *pIn, wxString *pOut, bool fromMain) |
This is the function which actually obeys one command. More... | |
static int | ExecFromWorker (wxString *pIn, wxString *pOut) |
Executes a command in the worker (script) thread. More... | |
static int | ExecFromMain (wxString *pIn, wxString *pOut) |
Executes a command on the main (GUI) thread. More... | |
void * | ExecForLisp (char *pIn) |
Contains definitions for ScriptCommandRelay.
Definition in file ScriptCommandRelay.cpp.
|
static |
This is the function which actually obeys one command.
Definition at line 33 of file ScriptCommandRelay.cpp.
References GetActiveProject(), CommandBuilder::GetCommand(), CommandBuilder::GetResponse(), AppCommandEvent::SetCommand(), and CommandBuilder::WasValid().
Referenced by ExecFromMain(), and ExecFromWorker().
void * ExecForLisp | ( | char * | pIn | ) |
Definition at line 95 of file ScriptCommandRelay.cpp.
References ExecFromMain(), nyq_reformat_aud_do_response(), and Str2.
Referenced by xlc_aud_do().
|
static |
Executes a command on the main (GUI) thread.
Definition at line 73 of file ScriptCommandRelay.cpp.
References ExecCommand().
Referenced by ExecForLisp().
|
static |
Executes a command in the worker (script) thread.
Definition at line 67 of file ScriptCommandRelay.cpp.
References ExecCommand().
Referenced by ScriptCommandRelay::StartScriptServer().