fully implement and deploy explicit x-thread signal connection syntax (testing comes...
[ardour.git] / libs / ardour / ardour / internal_return.h
index c057d45cc8d1cbead373713a29f38a3f1da18f8c..c5facebef602303657cbf3bd3e1401ef02e97151 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2009 Paul Davis 
+    Copyright (C) 2009 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,6 @@
 #ifndef __ardour_internal_return_h__
 #define __ardour_internal_return_h__
 
-#include <sigc++/signal.h>
 
 #include "ardour/ardour.h"
 #include "ardour/return.h"
@@ -30,17 +29,17 @@ namespace ARDOUR {
 
 class InternalReturn : public Return
 {
-  public:      
+  public:
        InternalReturn (Session&);
        InternalReturn (Session&, const XMLNode&);
 
-       bool visible() const { return true; }
+       bool visible() const;
 
        XMLNode& state(bool full);
        XMLNode& get_state(void);
-       int set_state(const XMLNode& node);
+       int set_state(const XMLNode&, int version);
 
-       void run (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes);
+       void run (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes, bool);
        bool configure_io (ChanCount in, ChanCount out);
        bool can_support_io_configuration (const ChanCount& in, ChanCount& out) const;
        void set_block_size (nframes_t);
@@ -48,7 +47,7 @@ class InternalReturn : public Return
        BufferSet* get_buffers();
        void release_buffers();
 
-       static sigc::signal<void,nframes_t> CycleStart;
+       static PBD::Signal1<void,nframes_t> CycleStart;
 
   private:
        BufferSet buffers;