Audacity 3.2.0
Classes | Typedefs | Functions
ScriptCommandRelay.h File Reference

Contains declarations for ScriptCommandRelay. More...

#include <memory>
Include dependency graph for ScriptCommandRelay.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ScriptCommandRelay
 ScriptCommandRelay is just a way to move some of the scripting-specific code out of ModuleManager. More...
 

Typedefs

typedef int(* tpExecScriptServerFunc) (wxString *pIn, wxString *pOut)
 
typedef int(* tpRegScriptServerFunc) (tpExecScriptServerFunc pFn)
 

Functions

int ExecFromMain (wxString *pIn, wxString *pOut)
 Executes a command on the main (GUI) thread. More...
 

Detailed Description

Contains declarations for ScriptCommandRelay.

Definition in file ScriptCommandRelay.h.

Typedef Documentation

◆ tpExecScriptServerFunc

typedef int(* tpExecScriptServerFunc) (wxString *pIn, wxString *pOut)

Definition at line 25 of file ScriptCommandRelay.h.

◆ tpRegScriptServerFunc

typedef int(* tpRegScriptServerFunc) (tpExecScriptServerFunc pFn)

Definition at line 26 of file ScriptCommandRelay.h.

Function Documentation

◆ ExecFromMain()

int ExecFromMain ( wxString *  pIn,
wxString *  pOut 
)

Executes a command on the main (GUI) thread.

Definition at line 73 of file ScriptCommandRelay.cpp.

74{
75 return ExecCommand(pIn, pOut, true);
76}
static int ExecCommand(wxString *pIn, wxString *pOut, bool fromMain)
This is the function which actually obeys one command.

References ExecCommand().

Here is the call graph for this function: