Commit c8508873 authored by Paolo Borelli's avatar Paolo Borelli

Remove structure.h header

It now only had two prototypes with no real reason to be a separate
file
parent fe5d9d5d
......@@ -41,7 +41,6 @@ librsvg_@RSVG_API_MAJOR_VERSION@_la_SOURCES = \
librsvg/rsvg-private.h \
librsvg/rsvg-size-callback.c \
librsvg/rsvg-size-callback.h \
librsvg/rsvg-structure.h \
librsvg/rsvg-styles.c \
librsvg/rsvg-styles.h \
librsvg/rsvg-xml.c \
......
......@@ -84,7 +84,6 @@ IGNORE_HFILES = \
rsvg-private.h \
rsvg-shapes.h \
rsvg-size-callback.h \
rsvg-structure.h \
rsvg-styles.h \
rsvg-text.h \
rsvg-xml.h
......
......@@ -122,7 +122,6 @@
#include "rsvg-private.h"
#include "rsvg-defs.h"
#include "rsvg-structure.h"
enum {
PROP_0,
......
......@@ -29,7 +29,6 @@
#include "rsvg-attributes.h"
#include "rsvg-defs.h"
#include "rsvg-load.h"
#include "rsvg-structure.h"
#include "rsvg-styles.h"
#include "rsvg-xml.h"
......@@ -41,18 +40,22 @@ typedef enum {
LOAD_STATE_CLOSED
} LoadState;
/* Implemented in rust/src/load.rs */
/* Implemented in rsvg_internals/src/load.rs */
G_GNUC_INTERNAL
RsvgNode *rsvg_load_new_node (const char *element_name, RsvgNode *parent, RsvgPropertyBag *atts);
/* Implemented in rust/src/load.rs */
/* Implemented in rsvg_internals/src/load.rs */
G_GNUC_INTERNAL
void rsvg_load_set_node_atts (RsvgHandle *handle, RsvgNode *node, const char *element_name, RsvgPropertyBag atts);
/* Implemented in rust/src/node.rs */
/* Implemented in rsvg_internals/src/node.rs */
G_GNUC_INTERNAL
void rsvg_node_register_in_defs(RsvgNode *node, RsvgDefs *defs);
/* Implemented in rsvg_internals/src/structure.rs */
G_GNUC_INTERNAL
void rsvg_node_svg_apply_atts (RsvgNode *node, RsvgHandle *handle);
struct RsvgLoad {
RsvgHandle *handle;
gboolean unlimited_size;
......
......@@ -300,6 +300,10 @@ gboolean rsvg_node_children_iter_next_back (RsvgNodeChildrenIter *iter,
G_GNUC_INTERNAL
void rsvg_node_children_iter_end (RsvgNodeChildrenIter *iter);
/* Implemented in rsvg_internals/src/structure.rs */
G_GNUC_INTERNAL
gboolean rsvg_node_svg_get_size (RsvgNode *node, double dpi_x, double dpi_y, int *out_width, int *out_height);
/* Implemented in rust/src/state.rs */
G_GNUC_INTERNAL
guint32 rsvg_computed_values_get_flood_color_argb (RsvgComputedValues *values);
......
/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* vim: set sw=4 sts=4 expandtab: */
/*
rsvg-structure.h: Rsvg's structual elements
Copyright (C) 2000 Eazel, Inc.
Copyright (C) 2002, 2003, 2004, 2005 Dom Lachowicz <cinamod@hotmail.com>
Copyright (C) 2003, 2004, 2005 Caleb Moore <c.moore@student.unsw.edu.au>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this program; if not, write to the
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
Authors: Raph Levien <raph@artofcode.com>,
Dom Lachowicz <cinamod@hotmail.com>,
Caleb Moore <c.moore@student.unsw.edu.au>
*/
#ifndef RSVG_STRUCTURE_H
#define RSVG_STRUCTURE_H
#include "rsvg-private.h"
G_BEGIN_DECLS
/* Implemented in rsvg_internals/src/structure.rs */
G_GNUC_INTERNAL
gboolean rsvg_node_svg_get_size (RsvgNode *node, double dpi_x, double dpi_y, int *out_width, int *out_height);
/* Implemented in rsvg_internals/src/structure.rs */
G_GNUC_INTERNAL
void rsvg_node_svg_apply_atts (RsvgNode *node, RsvgHandle *handle);
G_END_DECLS
#endif /* RSVG_STRUCTURE_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment