diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2019-03-08 12:10:22 -0700 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2019-03-08 12:10:22 -0700 |
commit | dd8b0516369017a500144b4eb196415d9e7cfcd0 (patch) | |
tree | 92fe4c9486e78754da830af03afd80add44ae122 /libs/ardour/ardour/port_manager.h | |
parent | ae997c093510bb7faa66d3ab5af3f8e1c09d8af0 (diff) |
drop silly canonical name stuff from MIDI port info, and just store backend name (libs version
Diffstat (limited to 'libs/ardour/ardour/port_manager.h')
-rw-r--r-- | libs/ardour/ardour/port_manager.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/libs/ardour/ardour/port_manager.h b/libs/ardour/ardour/port_manager.h index 73235ce0b2..720b147834 100644 --- a/libs/ardour/ardour/port_manager.h +++ b/libs/ardour/ardour/port_manager.h @@ -82,8 +82,6 @@ class LIBARDOUR_API PortManager std::string make_port_name_relative (const std::string& name) const; std::string make_port_name_non_relative (const std::string& name) const; std::string get_pretty_name_by_name (const std::string& portname) const; - std::string make_canonical_name (std::string const & full_port_name) const; - std::string port_name_from_canonical_name (std::string const & canonical) const; std::string short_port_name_from_port_name (std::string const & full_name) const; bool port_is_mine (const std::string& fullname) const; @@ -139,16 +137,21 @@ class LIBARDOUR_API PortManager bool port_remove_in_progress() const { return _port_remove_in_progress; } struct MidiPortInformation { + std::string backend; std::string pretty_name; bool input; MidiPortFlags properties; bool exists; - MidiPortInformation (std::string const & pretty, bool input, MidiPortFlags flags, bool xists) - : pretty_name (pretty) + MidiPortInformation (std::string const & b, std::string const & pretty, bool input, MidiPortFlags flags, bool xists) + : backend (b) + , pretty_name (pretty) , input (input) , properties (flags) , exists (xists) {} + MidiPortInformation () + : properties (MidiPortFlags (0)) + , exists (false) {} }; void fill_midi_port_info (); |