X-Git-Url: http://pilppa.org/gitweb/?p=libplpbus.git;a=blobdiff_plain;f=src%2Fplpbus%2FBusMessage.hh;fp=src%2Fplpbus%2FBusMessage.hh;h=21faff61ca012c3646e8b81a53453367470b29c7;hp=2ebd63581dd296a5e6b78edc5c43db591795298d;hb=827ba77fe55e4587ef605068ab092216cfffad2c;hpb=14952f0047c37298f20c5c084c60a8be344cb446 diff --git a/src/plpbus/BusMessage.hh b/src/plpbus/BusMessage.hh index 2ebd635..21faff6 100644 --- a/src/plpbus/BusMessage.hh +++ b/src/plpbus/BusMessage.hh @@ -19,7 +19,8 @@ namespace plpbus { BusMessage(long type_param); BusMessage(long type_param, const char *arg_name_param, const char *arg_string_value_param); virtual ~BusMessage(); - int add_string_parameter(std::string arg_name_param, std::string string_value_param); + int add_cstring_parameter(const char *arg_name_param, const char *value_param); + int add_string_parameter(std::string arg_name_param, std::string value_param); int add_long_parameter(std::string arg_name_param, long value_param); int add_int_parameter(std::string arg_name_param, int value_param); int add_double_parameter(std::string arg_name_param, double value_param);