X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=libs%2Fardour%2Fardour%2Ftempo_map_importer.h;h=28a65218c708185dad29673f5c78daf663a06235;hb=cf89f645ab4a7fae37abd0241c02203353f359ff;hp=6c2a057943213917dfb67ca1c64818e1d45a577b;hpb=572fa80aa713e723f63e1e1822db614307eea6af;p=ardour.git diff --git a/libs/ardour/ardour/tempo_map_importer.h b/libs/ardour/ardour/tempo_map_importer.h index 6c2a057943..28a65218c7 100644 --- a/libs/ardour/ardour/tempo_map_importer.h +++ b/libs/ardour/ardour/tempo_map_importer.h @@ -23,33 +23,35 @@ #include -#include +#include "pbd/xml++.h" -#include -#include -#include -#include +#include "ardour/element_importer.h" +#include "ardour/element_import_handler.h" namespace ARDOUR { -class TempoMapImportHandler : public ElementImportHandler +class Session; + +class LIBARDOUR_API TempoMapImportHandler : public ElementImportHandler { public: TempoMapImportHandler (XMLTree const & source, Session & session); - string get_info () const; + std::string get_info () const; }; -class TempoMapImporter : public ElementImporter +class LIBARDOUR_API TempoMapImporter : public ElementImporter { private: typedef boost::shared_ptr XMLNodePtr; public: TempoMapImporter (XMLTree const & source, Session & session, XMLNode const & node); - virtual string get_info () const; - virtual bool prepare_move (); - virtual void cancel_move (); - virtual void move (); + virtual std::string get_info () const; + + protected: + bool _prepare_move (); + void _cancel_move (); + void _move (); private: XMLNode xml_tempo_map;