24 Mar
2014
24 Mar
'14
8:16 p.m.
Hi all, To easier use repr->setAttribute, I want to add two extra (overloaded) functions
virtual void setAttribute(gchar const *key, gchar const *value, bool is_interactive=false)=0; virtual void setAttribute(gchar const *key, Glib::ustring const &value, bool is_interactive=false)=0; virtual void setAttribute(Glib::ustring const &key, Glib::ustring const &value, bool is_interactive=false)=0;
Should I use std::string or Glib::ustring for this?
Thanks, Johan