Audacity 3.2.0
Classes | Macros | Functions | Variables
ExportCL.cpp File Reference
#include "ProjectRate.h"
#include <thread>
#include <wx/app.h>
#include <wx/cmdline.h>
#include <wx/combobox.h>
#include <wx/log.h>
#include <wx/process.h>
#include <wx/sizer.h>
#include <wx/textctrl.h>
#include <wx/msw/registry.h>
#include "FileNames.h"
#include "Export.h"
#include "Mix.h"
#include "Prefs.h"
#include "SelectFile.h"
#include "ShuttleGui.h"
#include "Tags.h"
#include "Track.h"
#include "float_cast.h"
#include "../widgets/FileHistory.h"
#include "AudacityMessageBox.h"
#include "ProgressDialog.h"
#include "../widgets/Warning.h"
#include "wxFileNameWrapper.h"
Include dependency graph for ExportCL.cpp:

Go to the source code of this file.

Classes

class  ExportCLOptions
 
class  ExportCLProcess
 
class  ExportCL
 
struct  ExportCL::ExtendPath
 

Macros

#define ID_BROWSE   5000
 

Functions

static void Drain (wxInputStream *s, wxString *o)
 

Variables

static Exporter::RegisteredExportPlugin sRegisteredPlugin
 

Macro Definition Documentation

◆ ID_BROWSE

#define ID_BROWSE   5000

Definition at line 75 of file ExportCL.cpp.

Function Documentation

◆ Drain()

static void Drain ( wxInputStream *  s,
wxString *  o 
)
static

Definition at line 218 of file ExportCL.cpp.

219{
220 while (s->CanRead()) {
221 char buffer[4096];
222
223 s->Read(buffer, WXSIZEOF(buffer) - 1);
224 buffer[s->LastRead()] = wxT('\0');
225 *o += LAT1CTOWX(buffer);
226 }
227}
wxT("CloseDown"))
#define LAT1CTOWX(X)
Definition: Internat.h:158

References LAT1CTOWX, and wxT().

Referenced by ExportCL::Export(), and ExportCLProcess::OnTerminate().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ sRegisteredPlugin

Exporter::RegisteredExportPlugin sRegisteredPlugin
static
Initial value:
{ "CommandLine",
[]{ return std::make_unique< ExportCL >(); }
}

Definition at line 796 of file ExportCL.cpp.