X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Flocation_importer.h;h=574b9480622c23b823b9a2b27f742d960da385e8;hb=9e5b7db89f381c70232fab35dc21fd885863f998;hp=589bc2e94e224e4d8512f80b71901c049b4f6bf7;hpb=38382b792113cbf23881c1dca64e16c2d0207d45;p=ardour.git diff --git a/libs/ardour/ardour/location_importer.h b/libs/ardour/ardour/location_importer.h index 589bc2e94e..574b948062 100644 --- a/libs/ardour/ardour/location_importer.h +++ b/libs/ardour/ardour/location_importer.h @@ -21,31 +21,32 @@ #ifndef __ardour_location_importer_h__ #define __ardour_location_importer_h__ -#include -#include +#include "ardour/element_importer.h" +#include "ardour/element_import_handler.h" #include -#include -#include -#include +#include "pbd/xml++.h" namespace ARDOUR { -class LocationImportHandler : public ElementImportHandler +class Location; +class Session; + +class LIBARDOUR_API LocationImportHandler : public ElementImportHandler { public: LocationImportHandler (XMLTree const & source, Session & session); - string get_info () const; + std::string get_info () const; }; -class LocationImporter : public ElementImporter +class LIBARDOUR_API LocationImporter : public ElementImporter { public: LocationImporter (XMLTree const & source, Session & session, LocationImportHandler & handler, XMLNode const & node); ~LocationImporter (); - string get_info () const; + std::string get_info () const; protected: bool _prepare_move (); @@ -56,7 +57,7 @@ class LocationImporter : public ElementImporter LocationImportHandler & handler; XMLNode xml_location; Location * location; - + void parse_xml (); };