improve AU Latency PropertyChange Events
[ardour.git] / libs / ardour / ardour / scene_change.h
index 4ad0ce5f398a0b765dd20c3d384177fdb9421d98..adb65546b5cc40a3078675ce7b4d8cf27889f1e6 100644 (file)
@@ -30,8 +30,8 @@ namespace ARDOUR
 class SceneChange : public PBD::Stateful
 {
   public:
-        SceneChange ();
-        virtual ~SceneChange () {};
+       SceneChange ();
+       virtual ~SceneChange () {};
 
        static boost::shared_ptr<SceneChange> factory (const XMLNode&, int version);
        static std::string xml_node_name;
@@ -40,16 +40,20 @@ class SceneChange : public PBD::Stateful
         void set_color (uint32_t);
         bool color_out_of_bounds() const { return _color == out_of_bound_color; }
         static const uint32_t out_of_bound_color;
-        
+
+        bool active () const { return _active; }
+        void set_active (bool);
+
         PBD::Signal0<void> ColorChanged;
+        PBD::Signal0<void> ActiveChanged;
 
     protected:
         /* derived classes are responsible for serializing & deserializing this value */
         uint32_t _color;
-
+        bool     _active;
 };
 
 } /* namespace */
-       
+
 
 #endif /* __libardour_scene_change_h__ */