Add NamedChannel and use it to hide the never-used channels
[dcpomatic.git] / src / lib / types.h
index 50eed9aa1033debe460be604cfb4421a480c5461..2ba0408adb3019b2f59c6b6569948be117f7a27e 100644 (file)
@@ -259,4 +259,20 @@ enum EmailProtocol {
        EMAIL_PROTOCOL_SSL
 };
 
+
+class NamedChannel
+{
+public:
+       NamedChannel (std::string name_, int index_)
+               : name(name_)
+               , index(index_)
+       {}
+
+       std::string name;
+       int index;
+};
+
+
+bool operator== (NamedChannel const& a, NamedChannel const& b);
+
 #endif