simple-document.cpp revision 4527f6c136612e318804db902fa46d53238c7648
/*
* Inkscape::XML::SimpleDocument - generic XML document implementation
*
* Copyright 2004-2005 MenTaLguY <mental@rydia.net>
*
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* See the file COPYING for details.
*
*/
#include <glib.h> // g_assert()
#include "xml/simple-document.h"
#include "xml/event-fns.h"
#include "xml/element-node.h"
#include "xml/text-node.h"
#include "xml/comment-node.h"
namespace Inkscape {
namespace XML {
void SimpleDocument::_initBindings() {
_bindDocument(*this);
}
void SimpleDocument::beginTransaction() {
_in_transaction = true;
}
void SimpleDocument::rollback() {
_in_transaction = false;
}
void SimpleDocument::commit() {
_in_transaction = false;
}
_in_transaction = false;
return _log_builder.detach();
}
}
}
}
}
{
if (_in_transaction) {
}
}
{
if (_in_transaction) {
}
}
{
if (_in_transaction) {
}
}
{
if (_in_transaction) {
}
}
{
if (_in_transaction) {
}
}
}
}
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :