Audacity  2.2.2
Classes | Macros | Functions
ExportCL.cpp File Reference
#include "../Audacity.h"
#include "ExportCL.h"
#include "../Project.h"
#include <wx/app.h>
#include <wx/button.h>
#include <wx/combobox.h>
#include <wx/filedlg.h>
#include <wx/log.h>
#include <wx/process.h>
#include <wx/sizer.h>
#include <wx/textctrl.h>
#include "../FileNames.h"
#include "Export.h"
#include "../Mix.h"
#include "../Prefs.h"
#include "../ShuttleGui.h"
#include "../Internat.h"
#include "../float_cast.h"
#include "../widgets/FileHistory.h"
#include "../widgets/ErrorDialog.h"
#include "../Track.h"

Go to the source code of this file.

Classes

class  ExportCLOptions
 
class  ExportCLProcess
 
struct  wav_header
 
class  ExportCL
 

Macros

#define ID_BROWSE   5000
 

Functions

static void Drain (wxInputStream *s, wxString *o)
 
std::unique_ptr< ExportPluginNew_ExportCL ()
 

Macro Definition Documentation

#define ID_BROWSE   5000

Definition at line 63 of file ExportCL.cpp.

Referenced by ExportCLOptions::PopulateOrExchange().

Function Documentation

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

Definition at line 201 of file ExportCL.cpp.

References LAT1CTOWX.

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

202 {
203  while (s->CanRead()) {
204  char buffer[4096];
205 
206  s->Read(buffer, WXSIZEOF(buffer) - 1);
207  buffer[s->LastRead()] = wxT('\0');
208  *o += LAT1CTOWX(buffer);
209  }
210 }
#define LAT1CTOWX(X)
Definition: Internat.h:180
std::unique_ptr<ExportPlugin> New_ExportCL ( )

The only part of this class which is publically accessible is the factory method New_ExportCL() which creates a NEW ExportCL object and returns a pointer to it. The rest of the class declaration is in ExportCL.cpp

Definition at line 548 of file ExportCL.cpp.

Referenced by Exporter::Exporter().

549 {
550  return std::make_unique<ExportCL>();
551 }