mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-22 15:38:02 +02:00
(working on bug 113)
Update header block. Move declarations that aren't used elsewhere, into cpp file. No need to expose them here. Get rid of vim/emacs declarations. Matt said they're unnecessary, ages ago.
This commit is contained in:
parent
27e59162b4
commit
1149680032
@ -1,45 +1,21 @@
|
|||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
|
|
||||||
Audacity: A Digital Audio Editor
|
Audacity: A Digital Audio Editor
|
||||||
|
Audacity(R) is copyright (c) 1999-2008 Audacity Team.
|
||||||
|
License: GPL v2. See License.txt.
|
||||||
|
|
||||||
Dependencies.h
|
Dependencies.h
|
||||||
|
|
||||||
Dominic Mazzoni
|
|
||||||
|
|
||||||
The primary function provided in this source file is
|
Dominic Mazzoni
|
||||||
ShowDependencyDialogIfNeeded. It checks a project to see if
|
Vaughan Johnson
|
||||||
any of its WaveTracks contain AliasBlockFiles; if so it
|
|
||||||
presents a dialog to the user and lets them copy those block
|
|
||||||
files into the project, making it self-contained.
|
|
||||||
|
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
#ifndef __AUDACITY_DEPENDENCIES__
|
#ifndef __AUDACITY_DEPENDENCIES__
|
||||||
#define __AUDACITY_DEPENDENCIES__
|
#define __AUDACITY_DEPENDENCIES__
|
||||||
|
|
||||||
#include <wx/defs.h>
|
|
||||||
#include <wx/filename.h>
|
|
||||||
|
|
||||||
#include "Track.h"
|
|
||||||
|
|
||||||
class AliasedFile {
|
|
||||||
public:
|
|
||||||
AliasedFile(wxFileName fileName, wxLongLong bytes) {
|
|
||||||
this->fileName = fileName;
|
|
||||||
this->bytes = bytes;
|
|
||||||
}
|
|
||||||
wxFileName fileName;
|
|
||||||
wxLongLong bytes; // if stored as current default sample format
|
|
||||||
};
|
|
||||||
|
|
||||||
class AudacityProject;
|
class AudacityProject;
|
||||||
|
|
||||||
WX_DECLARE_OBJARRAY(AliasedFile, AliasedFileArray);
|
|
||||||
|
|
||||||
// True = success, whether dependencies were found or not
|
|
||||||
bool FindDependencies(AudacityProject *project,
|
|
||||||
AliasedFileArray *aliasedFiles);
|
|
||||||
|
|
||||||
// Checks for alias block files, modifies the project if the
|
// Checks for alias block files, modifies the project if the
|
||||||
// user requests it, and returns True if the user continues.
|
// user requests it, and returns True if the user continues.
|
||||||
// Returns false if the user clicks Cancel, meaning that they do
|
// Returns false if the user clicks Cancel, meaning that they do
|
||||||
@ -48,14 +24,3 @@ bool ShowDependencyDialogIfNeeded(AudacityProject *project,
|
|||||||
bool isSaving);
|
bool isSaving);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Indentation settings for Vim and Emacs.
|
|
||||||
// Please do not modify past this point.
|
|
||||||
//
|
|
||||||
// Local Variables:
|
|
||||||
// c-basic-offset: 3
|
|
||||||
// indent-tabs-mode: nil
|
|
||||||
// End:
|
|
||||||
//
|
|
||||||
// vim: et sts=3 sw=3
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user