35 class ElementImporter;
80 static bool dirty () {
return _dirty; }
86 static bool errors () {
return _errors; }
Virtual interface class for element import handlers.
static bool errors()
Checks wheter or not all elements were imported cleanly.
ARDOUR::Session & session
Destination session.
bool check_name(const std::string &name) const
static bool _dirty
Session XML readability.
std::list< ElementPtr > ElementList
void remove_name(const std::string &name)
Removes name from the list of used names.
std::set< std::string > names
Set of names for duplicate checking.
ElementList elements
Elements this handler handles.
ElementImportHandler(XMLTree const &source, ARDOUR::Session &session)
static void set_dirty()
Sets handler dirty.
static void set_errors()
Sets handler dirty.
virtual ~ElementImportHandler()
static bool _errors
Errors post initialization.
void add_name(std::string name)
Adds name to the list of used names.
virtual std::string get_info() const =0
std::shared_ptr< ElementImporter > ElementPtr
static bool dirty()
Checks wheter or not all elements can be imported cleanly.
XMLTree const & source
Source session XML tree.
GtkImageIconNameData name
void session(lua_State *L)