summaryrefslogtreecommitdiffstats
path: root/src/Metadata.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-05-11 13:45:26 -0400
committerDavid Robillard <d@drobilla.net>2021-05-11 13:45:26 -0400
commitdf0fdf362347495531bc3a5d19233220721d846b (patch)
treee3631d08630d4d6651eb24aa53c9fc49157778ab /src/Metadata.hpp
parentc6ae340c6222240dc45e9bba714c722cebece186 (diff)
downloadpatchage-df0fdf362347495531bc3a5d19233220721d846b.tar.gz
patchage-df0fdf362347495531bc3a5d19233220721d846b.tar.bz2
patchage-df0fdf362347495531bc3a5d19233220721d846b.zip
Refactor most functionality around actions and settings
This moves more code into general places, and completely eliminates dependencies on the Patchage "god object".
Diffstat (limited to 'src/Metadata.hpp')
-rw-r--r--src/Metadata.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Metadata.hpp b/src/Metadata.hpp
index 7da86d8..489c0b2 100644
--- a/src/Metadata.hpp
+++ b/src/Metadata.hpp
@@ -34,8 +34,8 @@ class Metadata
public:
Metadata() = default;
- boost::optional<ClientInfo> client(const ClientID& id);
- boost::optional<PortInfo> port(const PortID& id);
+ boost::optional<ClientInfo> client(const ClientID& id) const;
+ boost::optional<PortInfo> port(const PortID& id) const;
void set_client(const ClientID& id, const ClientInfo& info);
void set_port(const PortID& id, const PortInfo& info);