summaryrefslogtreecommitdiff
path: root/gtk2_ardour/imageframe_time_axis_group.h
diff options
context:
space:
mode:
authorKarsten Wiese <fzuuzf@googlemail.com>2005-12-16 22:30:49 +0000
committerKarsten Wiese <fzuuzf@googlemail.com>2005-12-16 22:30:49 +0000
commit170d6b24cec9b7fe51d74b75544a097948e03082 (patch)
tree2dbaf7b89b721aa63f06ec11a4f57b5fdd6b0480 /gtk2_ardour/imageframe_time_axis_group.h
parentcf37405a71ef9d4f0d0d4e9303a51bfc55d7cd89 (diff)
use stringcr_t and gain 1/1000 binary size reduction. not thaat much...
git-svn-id: svn://localhost/trunk/ardour2@194 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/imageframe_time_axis_group.h')
-rw-r--r--gtk2_ardour/imageframe_time_axis_group.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/gtk2_ardour/imageframe_time_axis_group.h b/gtk2_ardour/imageframe_time_axis_group.h
index d358d7ae4a..6e831f4419 100644
--- a/gtk2_ardour/imageframe_time_axis_group.h
+++ b/gtk2_ardour/imageframe_time_axis_group.h
@@ -28,6 +28,7 @@
#include <libgnomecanvas/libgnomecanvas.h>
#include <jack/jack.h>
+#include <ardour/types.h>
#include "imageframe_time_axis_view.h"
class PublicEditor ;
@@ -53,7 +54,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, std::string group_id) ;
+ ImageFrameTimeAxisGroup(ImageFrameTimeAxisView& iftav, ARDOUR::stringcr_t group_id) ;
/**
* Destructor
@@ -72,7 +73,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(std::string new_name, void* src) ;
+ void set_group_name(ARDOUR::stringcr_t new_name, void* src) ;
/**
* Returns the id of this group
@@ -138,7 +139,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(std::string 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(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) ;
/**
* Returns the named ImageFrameView or 0 if the named view does not exist on this view helper
@@ -146,7 +147,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(std::string item_id) ;
+ ImageFrameView* get_named_imageframe_item(ARDOUR::stringcr_t item_id) ;
/**
* Removes the currently selected ImageFrameView
@@ -163,7 +164,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(std::string item_id, void* src) ;
+ ImageFrameView* remove_named_imageframe_item(ARDOUR::stringcr_t item_id, void* src) ;
/**
* Removes ifv from the list of ImageFrameViews upon this TimeAxis.
@@ -253,7 +254,7 @@ class ImageFrameTimeAxisGroup : public sigc::trackable
sigc::signal<void, ImageFrameView*, void*> ImageFrameAdded ;
/** Emitted when an ImageFrameView is removed from this group */
- sigc::signal<void, std::string&, std::string&, std::string&, void*> ImageFrameRemoved ;
+ sigc::signal<void, ARDOUR::stringcr_t, ARDOUR::stringcr_t, ARDOUR::stringcr_t, void*> ImageFrameRemoved ;
protected: