along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id$
*/
#ifndef __ardour_visual_time_axis_h__
class ImageFrameTimeAxisView;
class MarkersTimeAxisView;
class TimeSelection;
-class AudioRegionSelection;
+class RegionSelection;
class MarkerTimeAxis;
class TimeAxisViewStrip;
* @param name the new name of this TimeAxis
* @param src the identity of the object that initiated the change
*/
- virtual void set_time_axis_name(ARDOUR::stringcr_t name, void* src) ;
+ virtual void set_time_axis_name(const string & name, void* src) ;
//---------------------------------------------------------------------------------------//
/**
* Not implemented
*/
- virtual void set_selected_regionviews(AudioRegionSelection&) ;
+ virtual void set_selected_regionviews(RegionSelection&) ;
//---------------------------------------------------------------------------------//
/**
* Emitted when we have changed the gui, and what we have shanged
*/
- sigc::signal<void,ARDOUR::stringcr_t,void*> gui_changed ;
+ sigc::signal<void,const string &,void*> gui_changed ;
/**
* Emitted when this Visual Time Axis has been removed
* the destructor, this allows us to capture the source of the deletion
* event
*/
- sigc::signal<void,ARDOUR::stringcr_t,void*> VisualTimeAxisRemoved ;
+ sigc::signal<void,const string &,void*> VisualTimeAxisRemoved ;
/**
* Emitted when we have changed the name of this TimeAxis
*/
- sigc::signal<void,ARDOUR::stringcr_t,ARDOUR::stringcr_t,void*> NameChanged ;
+ sigc::signal<void,const string &,const string &,void*> NameChanged ;
/**
* Emitted when this time axis has been selected for removal
* @param sess the current session
* @param canvas the parent canvas object
*/
- VisualTimeAxis(ARDOUR::stringcr_t name, PublicEditor& ed, ARDOUR::Session& sess, ArdourCanvas::Canvas& canvas) ;
+ VisualTimeAxis(const string & name, PublicEditor& ed, ARDOUR::Session& sess, ArdourCanvas::Canvas& canvas) ;
//---------------------------------------------------------------------------------------//
/** the name of this TimeAxis object */
std::string time_axis_name ;
- /** used to get a new name for this TimeAxis */
- ArdourPrompter* name_prompter ;
-
-
//---------------------------------------------------------------------------------------//
// Super class methods not handled by VisualTimeAxis
*
* @todo should VisualTimeAxis handle this?
*/
- void show_timestretch (jack_nframes_t start, jack_nframes_t end);
+ void show_timestretch (nframes_t start, nframes_t end);
/**
* Not handle by purely visual TimeAxis