Set up region BBT time when frame position changes, if the region is glued to BBT...
[ardour.git] / libs / ardour / ardour / session.h
index d302c310c8b1d9ae278571ac60cb4c0eb9a32020..734709be6aeda7dccf29bb392d13e39e65ade6f3 100644 (file)
@@ -64,7 +64,8 @@
 
 class XMLTree;
 class XMLNode;
-class AEffect;
+struct _AEffect;
+typedef struct _AEffect AEffect;
 
 namespace MIDI {
        class Port;
@@ -237,10 +238,12 @@ class Session : public PBD::StatefulDestructible, public PBD::ScopedConnectionLi
        template<class T> void foreach_route (T *obj, void (T::*func)(boost::shared_ptr<Route>));
        template<class T, class A> void foreach_route (T *obj, void (T::*func)(Route&, A), A arg);
 
+       static char session_name_is_legal (const std::string&);
        bool io_name_is_legal (const std::string&);
        boost::shared_ptr<Route> route_by_name (std::string);
        boost::shared_ptr<Route> route_by_id (PBD::ID);
        boost::shared_ptr<Route> route_by_remote_id (uint32_t id);
+       boost::shared_ptr<Track> track_by_diskstream_id (PBD::ID);
        void routes_using_input_from (const std::string& str, RouteList& rl);
 
        bool route_name_unique (std::string) const;
@@ -387,9 +390,6 @@ class Session : public PBD::StatefulDestructible, public PBD::ScopedConnectionLi
        void remove_pending_capture_state ();
        int rename (const std::string&);
 
-       static int rename_template (std::string old_name, std::string new_name);
-       static int delete_template (std::string name);
-
        PBD::Signal1<void,std::string> StateSaved;
        PBD::Signal0<void> StateReady;
 
@@ -739,22 +739,15 @@ class Session : public PBD::StatefulDestructible, public PBD::ScopedConnectionLi
 
        /* VST support */
 
-       static intptr_t vst_callback (AEffect* effect,
-                       int32_t opcode,
-                       int32_t index,
-                       intptr_t value,
-                       void* ptr,
-                       float opt);
+       static intptr_t vst_callback (
+               AEffect* effect,
+               int32_t opcode,
+               int32_t index,
+               intptr_t value,
+               void* ptr,
+               float opt
+               );
                        
-       /*Native linuxVST support*/
-       
-       static intptr_t lxvst_callback (AEffect* effect,
-                                 int32_t opcode,
-                                 int32_t index,
-                                 intptr_t value,
-                                 void* ptr,
-                                 float opt);
-
        static PBD::Signal0<void> SendFeedback;
 
        /* Speakers */