diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2018-10-17 14:10:50 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2018-10-17 14:11:37 -0400 |
commit | e047b01aa2560b137d45a131c0168145a27b953e (patch) | |
tree | feab53edc9ae2cda6180d712a502e5b513bad1f9 /libs/ardour/ardour/port_engine.h | |
parent | 319a6a52ba071dd94bd4bf0669c94806df4d3727 (diff) |
add new API for retrieving port flags from backend
Diffstat (limited to 'libs/ardour/ardour/port_engine.h')
-rw-r--r-- | libs/ardour/ardour/port_engine.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/ardour/port_engine.h b/libs/ardour/ardour/port_engine.h index 9c72b77550..e93e78db4a 100644 --- a/libs/ardour/ardour/port_engine.h +++ b/libs/ardour/ardour/port_engine.h @@ -120,6 +120,11 @@ public: */ virtual std::string get_port_name (PortHandle) const = 0; + /** Return the flags of the port referred to by @param port. If the port + * does not exist, return an empty string. + */ + virtual PortFlags get_port_flags (PortHandle) const = 0; + /** Return the port-property value and type for a given key. * (eg query a human readable port name) * |