repr.cpp revision c34b99031fb7203168b9a670c16d6db542e7a4b1
#define __SP_REPR_C__
/** \file
* A few non-inline functions of the C facade to Inkscape::XML::Node.
*/
/*
* Authors:
* Lauris Kaplinski <lauris@kaplinski.com>
* MenTaLguY <mental@rydia.net>
*
* Copyright (C) 1999-2003 authors
* Copyright (C) 2000-2002 Ximian, Inc.
* g++ port Copyright (C) 2003 Nathan Hurst
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#define noREPR_VERBOSE
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "xml/text-node.h"
#include "xml/element-node.h"
#include "xml/comment-node.h"
#include "xml/simple-document.h"
/// Returns new node.
{
}
/// Returns new textnode with content. See Inkscape::XML::TextNode.
{
}
/// Returns new commentnode with comment. See Inkscape::XML::CommentNode.
{
}
/// Returns new document having as first child a node named rootname.
sp_repr_document_new(char const *rootname)
{
Inkscape::XML::Document *doc = new Inkscape::XML::SimpleDocument(g_quark_from_static_string("xml"));
Inkscape::XML::Node *comment = doc->createComment(" Created with Inkscape (http://www.inkscape.org/) ");
}
return doc;
}
/// Returns new document having reprs as first child.
{
}
return doc;
}
/*
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 :