1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-24 23:33:50 +02:00

Remove Tags.h, Grid.h from headers

This commit is contained in:
Paul Licameli
2019-03-31 15:51:54 -04:00
parent 0c4f611b5c
commit 3002aa5362
9 changed files with 35 additions and 28 deletions

View File

@@ -13,12 +13,11 @@
#include "../MemoryX.h"
#include <vector>
#include "../Tags.h"
#include <wx/filename.h> // member variable
#include "../SampleFormat.h"
#include "../widgets/wxPanelWrapper.h"
class wxArrayString;
class wxFileName;
class FileDialogWrapper;
class wxFileCtrlEvent;
class wxMemoryDC;
@@ -27,6 +26,7 @@ class wxStaticText;
class AudacityProject;
class DirManager;
class WaveTrack;
class Tags;
class TrackList;
class MixerSpec;
class ProgressDialog;

View File

@@ -54,6 +54,28 @@
#include "../widgets/ErrorDialog.h"
namespace {
/** \brief A private class used to store the information needed to do an
* export.
*
* We create a set of these during the interactive phase of the export
* cycle, then use them when the actual exports are done. */
class ExportKit
{
public:
Tags filetags; /**< The set of metadata to use for the export */
wxFileNameWrapper destfile; /**< The file to export to */
double t0; /**< Start time for the export */
double t1; /**< End time for the export */
unsigned channels; /**< Number of channels for ExportMultipleByTrack */
}; // end of ExportKit declaration
/* we are going to want an set of these kits, and don't know how many until
* runtime. I would dearly like to use a std::vector, but it seems that
* this isn't done anywhere else in Audacity, presumably for a reason?, so
* I'm stuck with wxArrays, which are much harder, as well as non-standard.
*/
}
/* define our dynamic array of export settings */
enum {

View File

@@ -12,7 +12,6 @@
#define __AUDACITY_EXPORT_MULTIPLE__
#include "Export.h"
#include "../Tags.h" // we need to know about the Tags class for metadata
#include "../wxFileNameWrapper.h" // member variable
class wxButton;
@@ -188,25 +187,4 @@ private:
};
/** \brief A private class used to store the information needed to do an
* export.
*
* We create a set of these during the interactive phase of the export
* cycle, then use them when the actual exports are done. */
class ExportKit
{
public:
Tags filetags; /**< The set of metadata to use for the export */
wxFileNameWrapper destfile; /**< The file to export to */
double t0; /**< Start time for the export */
double t1; /**< End time for the export */
unsigned channels; /**< Number of channels for ExportMultipleByTrack */
}; // end of ExportKit declaration
/* we are going to want an set of these kits, and don't know how many until
* runtime. I would dearly like to use a std::vector, but it seems that
* this isn't done anywhere else in Audacity, presumably for a reason?, so
* I'm stuck with wxArrays, which are much harder, as well as non-standard.
*/
#endif