Refactor LTC File decoder, prepare for Lua bindings
[ardour.git] / libs / ardour / ardour / port_insert.h
index 2461f8a90fff89fd6be1f48ffa3e8c4181297de0..e96779c63e65f984362147d4e8eaf2052a3d0924 100644 (file)
@@ -45,12 +45,10 @@ class Pannable;
  */
 class LIBARDOUR_API PortInsert : public IOProcessor
 {
-  public:
+public:
        PortInsert (Session&, boost::shared_ptr<Pannable>, boost::shared_ptr<MuteMaster> mm);
        ~PortInsert ();
 
-       XMLNode& state(bool full);
-       XMLNode& get_state(void);
        int set_state (const XMLNode&, int version);
 
        void run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_sample, double speed, pframes_t nframes, bool);
@@ -82,7 +80,9 @@ class LIBARDOUR_API PortInsert : public IOProcessor
 
        static std::string name_and_id_new_insert (Session&, uint32_t&);
 
-  private:
+protected:
+       XMLNode& state ();
+private:
        /* disallow copy construction */
        PortInsert (const PortInsert&);