Add NamedChannel and use it to hide the never-used channels
[dcpomatic.git] / src / lib / types.cc
index df57f2d47143a470b1ed88ae11a6e0ac699abf4b..e7acf6992eec60d128be640525ba4b32680abc3a 100644 (file)
@@ -222,3 +222,10 @@ CPLSummary::CPLSummary (boost::filesystem::path p)
 
        last_write_time = boost::filesystem::last_write_time (p);
 }
+
+
+bool operator== (NamedChannel const& a, NamedChannel const& b)
+{
+       return a.name == b.name && a.index == b.index;
+}
+