simple-document.cpp revision dbb33756bd786e9432e18ec7be93f8c416e1b492
/**
* @file
* Garbage collected 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::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:fileencoding=utf-8:textwidth=99 :