1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-17 08:30:06 +02:00
audacity/src/ProjectFileIORegistry.h
Panagiotis Vasilopoulos 44968d3ac3
Rebranding: Replace 'Audacity: A Digital Audio Editor' in source files (#248)
List of commands that were executed in the `src directory`:
* sed -i 's/Audacity: A Digital Audio Editor/Tenacity/g' *.h
* sed -i 's/Audacity: A Digital Audio Editor/Tenacity/g' *.cpp

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-07-13 09:30:42 +00:00

36 lines
775 B
C++

/**********************************************************************
Tenacity
ProjectFileIORegistry.h
Paul Licameli
**********************************************************************/
#ifndef __AUDACITY_PROJECT_FILE_IO_REGISTRY__
#define __AUDACITY_PROJECT_FILE_IO_REGISTRY__
#include <functional>
class AudacityProject;
class XMLTagHandler;
class wxString;
namespace ProjectFileIORegistry {
// Type of functions returning objects that interpret a part of the saved XML
using TagHandlerFactory =
std::function< XMLTagHandler *( AudacityProject & ) >;
// Typically statically constructed
struct AUDACITY_DLL_API Entry{
Entry( const wxString &tag, const TagHandlerFactory &factory );
};
TagHandlerFactory Lookup( const wxString &tag );
}
#endif