X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gtk2_ardour%2Fimageframe_time_axis_group.h;h=ba7790c04aa0bb831c8dc0b7082aff26ca8d4afb;hb=ac61c228eba8dec7e81498b47013196681ca7ce8;hp=6e831f44194e9f7951e4f7a392fe1127fcb68152;hpb=170d6b24cec9b7fe51d74b75544a097948e03082;p=ardour.git diff --git a/gtk2_ardour/imageframe_time_axis_group.h b/gtk2_ardour/imageframe_time_axis_group.h index 6e831f4419..ba7790c04a 100644 --- a/gtk2_ardour/imageframe_time_axis_group.h +++ b/gtk2_ardour/imageframe_time_axis_group.h @@ -15,7 +15,6 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id$ */ #ifndef __ardour_imageframe_time_axis_group_h__ @@ -54,7 +53,7 @@ class ImageFrameTimeAxisGroup : public sigc::trackable * @param iftav the parent ImageFrameTimeAxis of this view helper * @param group_id the unique name/id of this group */ - ImageFrameTimeAxisGroup(ImageFrameTimeAxisView& iftav, ARDOUR::stringcr_t group_id) ; + ImageFrameTimeAxisGroup(ImageFrameTimeAxisView& iftav, const string & group_id) ; /** * Destructor @@ -73,7 +72,7 @@ class ImageFrameTimeAxisGroup : public sigc::trackable * @param new_name the new name of this group * @param src the identity of the object that initiated the change */ - void set_group_name(ARDOUR::stringcr_t new_name, void* src) ; + void set_group_name(const string & new_name, void* src) ; /** * Returns the id of this group @@ -139,7 +138,7 @@ class ImageFrameTimeAxisGroup : public sigc::trackable * @param num_channels the number of channles within the rgb_data * @param src the identity of the object that initiated the change */ - ImageFrameView* add_imageframe_item(ARDOUR::stringcr_t item_id, jack_nframes_t start, jack_nframes_t duration, unsigned char* rgb_data, uint32_t width, uint32_t height, uint32_t num_channels, void* src) ; + ImageFrameView* add_imageframe_item(const string & item_id, nframes_t start, nframes_t duration, unsigned char* rgb_data, uint32_t width, uint32_t height, uint32_t num_channels, void* src) ; /** * Returns the named ImageFrameView or 0 if the named view does not exist on this view helper @@ -147,7 +146,7 @@ class ImageFrameTimeAxisGroup : public sigc::trackable * @param item_id the unique id of the item to search for * @return the named ImageFrameView, or 0 if it is not held upon this view */ - ImageFrameView* get_named_imageframe_item(ARDOUR::stringcr_t item_id) ; + ImageFrameView* get_named_imageframe_item(const string & item_id) ; /** * Removes the currently selected ImageFrameView @@ -164,7 +163,7 @@ class ImageFrameTimeAxisGroup : public sigc::trackable * @param src the identity of the object that initiated the change * @see add_imageframe_view */ - ImageFrameView* remove_named_imageframe_item(ARDOUR::stringcr_t item_id, void* src) ; + ImageFrameView* remove_named_imageframe_item(const string & item_id, void* src) ; /** * Removes ifv from the list of ImageFrameViews upon this TimeAxis. @@ -254,7 +253,7 @@ class ImageFrameTimeAxisGroup : public sigc::trackable sigc::signal ImageFrameAdded ; /** Emitted when an ImageFrameView is removed from this group */ - sigc::signal ImageFrameRemoved ; + sigc::signal ImageFrameRemoved ; protected: