X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fjabber_whiteboard%2Fmessage-utilities.h;h=c6d464f0861b57490450d916b52e379631445b2d;hb=1a02c2b616bd167a58870ad9ed33af5e042c9daf;hp=5595f435c08a64455ba24eb105f47708578b0f4c;hpb=e7cd2ec3e1687a262ebe95e5ac7a47f8ab147ce2;p=inkscape.git diff --git a/src/jabber_whiteboard/message-utilities.h b/src/jabber_whiteboard/message-utilities.h index 5595f435c..c6d464f08 100644 --- a/src/jabber_whiteboard/message-utilities.h +++ b/src/jabber_whiteboard/message-utilities.h @@ -26,7 +26,8 @@ namespace Inkscape { namespace Util { -class shared_ptr; +template +class ptr_shared; } @@ -46,7 +47,7 @@ public: static void newObjectMessage(ustring* msgbuf, KeyToNodeMap& newidsbuf, NodeToKeyMap& newnodesbuf, NewChildObjectMessageList& childmsgbuf, XMLNodeTracker* xmt, Inkscape::XML::Node const* node, bool only_collect_nodes = false, bool collect_children = true); static void objectChangeMessage(ustring* msgbuf, XMLNodeTracker* xmt, std::string const id, gchar const* key, gchar const* oldval, gchar const* newval, bool is_interactive); static void objectDeleteMessage(ustring* msgbuf, XMLNodeTracker* xmt, Inkscape::XML::Node const& parent, Inkscape::XML::Node const& child, Inkscape::XML::Node const* prev); - static void contentChangeMessage(ustring& msgbuf, std::string const nodeid, Util::shared_ptr old_value, Util::shared_ptr new_value); + static void contentChangeMessage(ustring& msgbuf, std::string const nodeid, Util::ptr_shared old_value, Util::ptr_shared new_value); static void childOrderChangeMessage(ustring& msgbuf, std::string const childid, std::string const oldprevid, std::string const newprevid); // Message parsing utilities @@ -80,5 +81,5 @@ private: fill-column:99 End: */ -// vim: filetype=c++:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 : +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 : #endif