summaryrefslogtreecommitdiffstats
path: root/src/xml/event.h
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2006-02-06 04:15:05 +0000
committermental <mental@users.sourceforge.net>2006-02-06 04:15:05 +0000
commit4f46bb0e09ddfa540b60bd4d152385729127aceb (patch)
tree7b30dc6f0d64d847c422352d23ef1187ec04802a /src/xml/event.h
parentsilence warnings (diff)
downloadinkscape-4f46bb0e09ddfa540b60bd4d152385729127aceb.tar.gz
inkscape-4f46bb0e09ddfa540b60bd4d152385729127aceb.zip
replace Util::SharedCStringPtr with the more general Util::shared_ptr<>
(bzr r87)
Diffstat (limited to 'src/xml/event.h')
-rw-r--r--src/xml/event.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/xml/event.h b/src/xml/event.h
index e4ce8b26a..56fdb8bb6 100644
--- a/src/xml/event.h
+++ b/src/xml/event.h
@@ -6,7 +6,7 @@
#include <glibmm/ustring.h>
#include <iterator>
-#include "util/shared-c-string-ptr.h"
+#include "util/share.h"
#include "util/forward-pointer-iterator.h"
#include "gc-managed.h"
#include "xml/node.h"
@@ -96,15 +96,15 @@ private:
class EventChgAttr : public Event {
public:
EventChgAttr(Node *repr, GQuark k,
- Inkscape::Util::SharedCStringPtr ov,
- Inkscape::Util::SharedCStringPtr nv,
+ Inkscape::Util::shared_ptr<char> ov,
+ Inkscape::Util::shared_ptr<char> nv,
Event *next)
: Event(repr, next), key(k),
oldval(ov), newval(nv) {}
GQuark key;
- Inkscape::Util::SharedCStringPtr oldval;
- Inkscape::Util::SharedCStringPtr newval;
+ Inkscape::Util::shared_ptr<char> oldval;
+ Inkscape::Util::shared_ptr<char> newval;
private:
Event *_optimizeOne();
@@ -115,13 +115,13 @@ private:
class EventChgContent : public Event {
public:
EventChgContent(Node *repr,
- Inkscape::Util::SharedCStringPtr ov,
- Inkscape::Util::SharedCStringPtr nv,
+ Inkscape::Util::shared_ptr<char> ov,
+ Inkscape::Util::shared_ptr<char> nv,
Event *next)
: Event(repr, next), oldval(ov), newval(nv) {}
- Inkscape::Util::SharedCStringPtr oldval;
- Inkscape::Util::SharedCStringPtr newval;
+ Inkscape::Util::shared_ptr<char> oldval;
+ Inkscape::Util::shared_ptr<char> newval;
private:
Event *_optimizeOne();