Audacity 3.2.0
TimerRecordExportDialog.h
Go to the documentation of this file.
1#pragma once
2
3#include "wxPanelWrapper.h"
4#include "ExportPlugin.h"
5
7class ShuttleGui;
9
11{
12 enum
13 {
14 ExportFilePanelID = wxID_HIGHEST,
16 };
17public:
19 wxWindow* parent = nullptr,
20 wxWindowID = wxID_ANY);
21
22 void Bind(wxFileName& filename,
23 wxString& format,
24 int& sampleRate,
25 int& channels,
27
28private:
30
31 void OnOK(wxCommandEvent&);
32 void OnEditMetadata(wxCommandEvent&);
33 void OnFormatChanged(wxCommandEvent&);
34
36
37 wxButton* mEditMetadata{};
39
40 wxFileName* mFileName{};
41 wxString* mFormat{};
43 int* mChannels{};
45
46 DECLARE_EVENT_TABLE()
47};
const auto project
#define S(N)
Definition: ToChars.cpp:64
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90
std::vector< std::tuple< ExportOptionID, ExportValue > > Parameters
Definition: ExportPlugin.h:93
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Definition: ShuttleGui.h:640
void Bind(wxFileName &filename, wxString &format, int &sampleRate, int &channels, ExportProcessor::Parameters &paramters)
TimerRecordExportDialog(AudacityProject &project, wxWindow *parent=nullptr, wxWindowID=wxID_ANY)
ExportFilePanel * mExportFilePanel
void OnFormatChanged(wxCommandEvent &)
void OnEditMetadata(wxCommandEvent &)
void PopulateOrExchange(ShuttleGui &S)
ExportProcessor::Parameters * mParameters