summaryrefslogtreecommitdiff
path: root/gtk2_ardour/imageframe_socket_handler.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_socket_handler.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_socket_handler.h')
-rw-r--r--gtk2_ardour/imageframe_socket_handler.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/gtk2_ardour/imageframe_socket_handler.h b/gtk2_ardour/imageframe_socket_handler.h
index d9798649c2..94af0bdfd8 100644
--- a/gtk2_ardour/imageframe_socket_handler.h
+++ b/gtk2_ardour/imageframe_socket_handler.h
@@ -128,7 +128,7 @@ class ImageFrameSocketHandler : public sigc::trackable
* @param track_id the unique id of the removed image frame time axis
* @param src the identity of the object that initiated the change
*/
- void send_imageframe_time_axis_removed(std::string track_id, void* src) ;
+ void send_imageframe_time_axis_removed(ARDOUR::stringcr_t track_id, void* src) ;
/**
* Sends a message indicating that an ImageFrameTimeAxis has been renamed
@@ -138,7 +138,7 @@ class ImageFrameSocketHandler : public sigc::trackable
* @param src the identity of the object that initiated the change
* @param time_axis the time axis that has changed
*/
- void send_imageframe_time_axis_renamed(std::string new_id, std::string old_id, void* src, ImageFrameTimeAxis* time_axis) ;
+ void send_imageframe_time_axis_renamed(ARDOUR::stringcr_t new_id, ARDOUR::stringcr_t old_id, void* src, ImageFrameTimeAxis* time_axis) ;
//------------------------
// MarkerTimeAxis Messages
@@ -149,7 +149,7 @@ class ImageFrameSocketHandler : public sigc::trackable
* @param track_id the unique id of the removed image frame time axis
* @param src the identity of the object that initiated the change
*/
- void send_marker_time_axis_removed(std::string track_id, void* src) ;
+ void send_marker_time_axis_removed(ARDOUR::stringcr_t track_id, void* src) ;
/**
* Sends a message indicating that an MarkerTimeAxis has been renamed
@@ -159,7 +159,7 @@ class ImageFrameSocketHandler : public sigc::trackable
* @param src the identity of the object that initiated the change
* @param time_axis the time axis that has changed
*/
- void send_marker_time_axis_renamed(std::string new_id, std::string old_id, void* src, MarkerTimeAxis* time_axis) ;
+ void send_marker_time_axis_renamed(ARDOUR::stringcr_t new_id, ARDOUR::stringcr_t old_id, void* src, MarkerTimeAxis* time_axis) ;
//---------------------------------
@@ -172,7 +172,7 @@ class ImageFrameSocketHandler : public sigc::trackable
* @param src the identity of the object that initiated the change
* @param group the group that has changed
*/
- void send_imageframe_time_axis_group_removed(std::string group_id, void* src, ImageFrameTimeAxisGroup* group) ;
+ void send_imageframe_time_axis_group_removed(ARDOUR::stringcr_t group_id, void* src, ImageFrameTimeAxisGroup* group) ;
/**
* Send a message indicating that an ImageFrameTimeAxisGroup has been renamed
@@ -182,7 +182,7 @@ class ImageFrameSocketHandler : public sigc::trackable
* @param src the identity of the object that initiated the change
* @param group the group that has changed
*/
- void send_imageframe_time_axis_group_renamed(std::string new_id, std::string old_id, void* src, ImageFrameTimeAxisGroup* group) ;
+ void send_imageframe_time_axis_group_renamed(ARDOUR::stringcr_t new_id, ARDOUR::stringcr_t old_id, void* src, ImageFrameTimeAxisGroup* group) ;
//---------------------------------
@@ -213,7 +213,7 @@ class ImageFrameSocketHandler : public sigc::trackable
* @param src the identity of the object that initiated the change
* @param item the renamed item
*/
- void send_imageframe_view_renamed(std::string new_id, std::string old_id, void* src, ImageFrameView* item) ;
+ void send_imageframe_view_renamed(ARDOUR::stringcr_t new_id, ARDOUR::stringcr_t old_id, void* src, ImageFrameView* item) ;
/**
* Send a message indicating that an ImageFrameView item has been removed message
@@ -222,7 +222,7 @@ class ImageFrameSocketHandler : public sigc::trackable
* @param src the identity of the object that initiated the change
* @param item the removed item
*/
- void send_imageframe_view_removed(std::string item_id, void* src, ImageFrameView* item) ;
+ void send_imageframe_view_removed(ARDOUR::stringcr_t item_id, void* src, ImageFrameView* item) ;
//---------------------------------
// MarkerView Messages
@@ -253,7 +253,7 @@ class ImageFrameSocketHandler : public sigc::trackable
* @param src the identity of the object that initiated the change
* @param item the MarkerView which has been renamed
*/
- void send_marker_view_renamed(std::string new_id, std::string old_id, void* src, MarkerView* item) ;
+ void send_marker_view_renamed(ARDOUR::stringcr_t new_id, ARDOUR::stringcr_t old_id, void* src, MarkerView* item) ;
/**
* Send a message indicating that a MarkerView item has been removed message
@@ -262,7 +262,7 @@ class ImageFrameSocketHandler : public sigc::trackable
* @param src the identity of the object that initiated the change
* @param item the MarkerView which has been removed
*/
- void send_marker_view_removed(std::string item_id, void* src, MarkerView* item) ;
+ void send_marker_view_removed(ARDOUR::stringcr_t item_id, void* src, MarkerView* item) ;
//---------------------------------------------------------------------------------------//
@@ -650,7 +650,7 @@ class ImageFrameSocketHandler : public sigc::trackable
* @param errmsg populated with a description of the error on failure
* @return the described item on success, 0 otherwise
*/
- ImageFrameView* get_imageframe_view_from_desc(const std::string& track_id, const std::string& group_ud, const std::string& item_id, int& errcode, std::string& errmsg) ;
+ ImageFrameView* get_imageframe_view_from_desc(ARDOUR::stringcr_t track_id, ARDOUR::stringcr_t group_ud, ARDOUR::stringcr_t item_id, int& errcode, std::string& errmsg) ;
//---------------------------------------------------------------------------------------//
// Convenince Message Send Methods
@@ -661,7 +661,7 @@ class ImageFrameSocketHandler : public sigc::trackable
* @param msg the message to send
* @return the return value of the socket call
*/
- int send_message(const std::string& msg) ;
+ int send_message(ARDOUR::stringcr_t msg) ;
/**
* Reads a message from the Socket