Optimize automation-event process splitting
[ardour.git] / gtk2_ardour / lxvst_plugin_ui.h
index 522f24c2dacace476354007b8688dc821ad79085..115db625958db8d5ec218b6134597af714b49b9d 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012 Paul Davis 
+    Copyright (C) 2012 Paul Davis
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -20,7 +20,7 @@
 #ifndef __lxvst_plugin_ui_h__
 #define __lxvst_plugin_ui_h__
 
-#include <sigc++/signal.h>
+#include "pbd/signals.h"
 #include "vst_plugin_ui.h"
 
 #ifdef LXVST_SUPPORT
@@ -32,14 +32,14 @@ namespace ARDOUR {
 
 class LXVSTPluginUI : public VSTPluginUI
 {
-  public:
+public:
        LXVSTPluginUI (boost::shared_ptr<ARDOUR::PluginInsert>, boost::shared_ptr<ARDOUR::VSTPlugin>);
        ~LXVSTPluginUI ();
 
        int get_preferred_height ();
-       
-       bool start_updating (GdkEventAny *);
-       bool stop_updating (GdkEventAny *);
+
+       bool start_updating (GdkEventAny*) { return false; }
+       bool stop_updating (GdkEventAny*) { return false; }
 
        int package (Gtk::Window&);
        void forward_key_event (GdkEventKey *);
@@ -49,7 +49,7 @@ private:
        void resize_callback ();
        int get_XID ();
 
-       sigc::connection _screen_update_connection;
+       PBD::ScopedConnection _resize_connection;
 };
 
 #endif //LXVST_SUPPORT