summaryrefslogtreecommitdiffstats
path: root/src/sp-object.h
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2014-11-25 21:39:57 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2014-11-25 21:39:57 +0000
commitc1e2bbe2ed5d8b7cddd69b80ee20c7d39ab20c44 (patch)
tree1746030d151c4266a3f7797866c72fc5d557c816 /src/sp-object.h
parentMore C++ string usage. (diff)
downloadinkscape-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.h7
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.