add new enums to libs/pbd enums registration
authorPaul Davis <paul@linuxaudiosystems.com>
Mon, 18 Jan 2016 16:55:52 +0000 (11:55 -0500)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 18 Jan 2016 17:11:09 +0000 (12:11 -0500)
libs/pbd/enums.cc

index 9e33ec6df1a01158779e69529ee52775273d0fd0..5e68824bac08fae8a2839e9c90cd36b38e69bbab 100644 (file)
@@ -31,7 +31,7 @@ setup_libpbd_enums ()
        vector<string> s;
 
        Controllable::Flag controllable_flags;
-
+       Controllable::GroupControlDisposition controllable_group_disposition;
 #define REGISTER(e) enum_writer.register_distinct (typeid(e).name(), i, s); i.clear(); s.clear()
 #define REGISTER_BITS(e) enum_writer.register_bits (typeid(e).name(), i, s); i.clear(); s.clear()
 #define REGISTER_ENUM(e) i.push_back (e); s.push_back (#e)
@@ -40,4 +40,11 @@ setup_libpbd_enums ()
        REGISTER_CLASS_ENUM (Controllable, Toggle);
        REGISTER_CLASS_ENUM (Controllable, GainLike);
        REGISTER (controllable_flags);
+
+       REGISTER_CLASS_ENUM (Controllable, WholeGroup);
+       REGISTER_CLASS_ENUM (Controllable, UseGroup);
+       REGISTER_CLASS_ENUM (Controllable, NoGroup);
+       REGISTER (controllable_group_disposition);
+
 }
+