Audacity  2.2.0
Legacy.cpp File Reference

Converts old Audacity file types. Implements AutoRollbackRenamer. More...

#include "Audacity.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <wx/defs.h>
#include <wx/ffile.h>
#include <wx/filefn.h>
#include <wx/intl.h>
#include <wx/msgdlg.h>
#include <wx/string.h>
#include <wx/textfile.h>
#include "Internat.h"
#include "Legacy.h"
#include "xml/XMLWriter.h"

Functions

static bool ConvertLegacyTrack (wxTextFile *f, XMLFileWriter &xmlFile)
 
bool ConvertLegacyProjectFile (const wxFileName &filename)
 

Detailed Description

Converts old Audacity file types. Implements AutoRollbackRenamer.

These routines convert Audacity project files from the 0.98...1.0 format into an XML format that's compatible with Audacity 1.2.0 and newer.

Function Documentation

bool ConvertLegacyProjectFile ( const wxFileName &  filename)
static bool ConvertLegacyTrack ( wxTextFile *  f,
XMLFileWriter xmlFile 
)
static