mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-23 06:35:50 +01:00
ScriptCommandRelay.cpp doesn't depend on AudacityProject.cpp ...
... This doesn't break any dependency cycles yet.
This commit is contained in:
@@ -20,11 +20,11 @@
|
||||
|
||||
#include "../MemoryX.h"
|
||||
|
||||
class wxWindow;
|
||||
class CommandHandler;
|
||||
class ResponseQueue;
|
||||
class Response;
|
||||
class ResponseQueueTarget;
|
||||
class AudacityProject;
|
||||
class OldStyleCommand;
|
||||
using OldStyleCommandPointer = std::shared_ptr<OldStyleCommand>;
|
||||
class wxString;
|
||||
@@ -50,7 +50,8 @@ class ScriptCommandRelay
|
||||
static void SetCommandHandler(CommandHandler &ch);
|
||||
|
||||
static void Run();
|
||||
static void PostCommand(AudacityProject *project, const OldStyleCommandPointer &cmd);
|
||||
static void PostCommand(
|
||||
wxWindow *pWindow, const OldStyleCommandPointer &cmd);
|
||||
static void SendResponse(const wxString &response);
|
||||
static Response ReceiveResponse();
|
||||
static std::shared_ptr<ResponseQueueTarget> GetResponseTarget();
|
||||
|
||||
Reference in New Issue
Block a user