diff options
author | Carl Hetherington <carl@carlh.net> | 2009-05-12 17:03:42 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-05-12 17:03:42 +0000 |
commit | 3b89d9eaa03406a5e03648f47734211f09b89d62 (patch) | |
tree | 1c8d151bca327d4a5cb7047c8591aa814b9b4ec8 /libs/ardour/ardour/element_importer.h | |
parent | 2e5c935990d6ea5cc6e9a5a6de0fd8c52e68657c (diff) |
Remove most using declarations from header files.
git-svn-id: svn://localhost/ardour2/branches/3.0@5069 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/element_importer.h')
-rw-r--r-- | libs/ardour/ardour/element_importer.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/libs/ardour/ardour/element_importer.h b/libs/ardour/ardour/element_importer.h index 04f46f7a03..4a69565838 100644 --- a/libs/ardour/ardour/element_importer.h +++ b/libs/ardour/ardour/element_importer.h @@ -29,8 +29,6 @@ #include "ardour/types.h" #include "ardour/session.h" -using std::string; - class XMLTree; namespace ARDOUR { @@ -45,12 +43,12 @@ class ElementImporter /** Returns the element name * @return the name of the element */ - virtual string get_name () const { return name; }; + virtual std::string get_name () const { return name; }; /** Gets a textual representation of the element * @return a textual representation on this specific element */ - virtual string get_info () const = 0; + virtual std::string get_info () const = 0; /** Gets import status, if applicable. */ virtual Session::ImportStatus * get_import_status () { return 0; } @@ -73,10 +71,10 @@ class ElementImporter bool broken () { return _broken; } /// Signal that requests for anew name - static sigc::signal <std::pair<bool, string>, string, string> Rename; + static sigc::signal <std::pair<bool, std::string>, std::string, std::string> Rename; /// Signal for ok/cancel prompting - static sigc::signal <bool, string> Prompt; + static sigc::signal <bool, std::string> Prompt; protected: @@ -107,19 +105,19 @@ class ElementImporter bool queued () { return _queued; } /// Name of element - string name; + std::string name; /// The sample rate of the session from which we are importing nframes_t sample_rate; /// Converts smpte time to a string - string smpte_to_string(SMPTE::Time & time) const; + std::string smpte_to_string (SMPTE::Time & time) const; /// Converts samples so that times match the sessions sample rate nframes_t rate_convert_samples (nframes_t samples) const; /// Converts samples so that times match the sessions sample rate (for straight use in XML) - string rate_convert_samples (string const & samples) const; + std::string rate_convert_samples (std::string const & samples) const; /// Set element broken void set_broken () { _broken = true; } |