diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2014-11-25 21:39:57 +0000 |
|---|---|---|
| committer | Johan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl> | 2014-11-25 21:39:57 +0000 |
| commit | c1e2bbe2ed5d8b7cddd69b80ee20c7d39ab20c44 (patch) | |
| tree | 1746030d151c4266a3f7797866c72fc5d557c816 /src/sp-object.h | |
| parent | More C++ string usage. (diff) | |
| download | inkscape-c1e2bbe2ed5d8b7cddd69b80ee20c7d39ab20c44.tar.gz inkscape-c1e2bbe2ed5d8b7cddd69b80ee20c7d39ab20c44.zip | |
More c++ string usage.
(bzr r13763)
Diffstat (limited to 'src/sp-object.h')
| -rw-r--r-- | src/sp-object.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/sp-object.h b/src/sp-object.h index 575198f36..d08add0bf 100644 --- a/src/sp-object.h +++ b/src/sp-object.h @@ -67,6 +67,9 @@ struct Document; } } +namespace Glib { + class ustring; +} typedef enum { SP_NO_EXCEPTION, @@ -703,7 +706,9 @@ public: */ void setKeyValue(unsigned int key, char const *value); - void setAttribute(char const *key, char const *value, SPException *ex=NULL); + void setAttribute( char const *key, char const *value, SPException *ex=NULL); + void setAttribute( char const *key, Glib::ustring const &value, SPException *ex=NULL); + void setAttribute(Glib::ustring const &key, Glib::ustring const &value, SPException *ex=NULL); /** * Read value of key attribute from XML node into object. |
