grim/gplate
Clone
Summary
Browse
Changes
Graph
I thought I already added this.. my bad
trying_to_get_includes_working
2008-02-20, grim
545b7214a0de
I thought I already added this.. my bad
/*
* Copyright (C) 2007-2008 Gary Kramlich <grim@reaperworld.com>
*
* This program is free software; you can redistribute it and/or 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.
*
* 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 General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, write to the Free Software Foundation, Inc., 51
* Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
#ifndef GPLATE_TAG_H
#define GPLATE_TAG_H
#include
<glib.h>
#include
<glib-object.h>
#define GPLATE_TYPE_TAG (gplate_tag_get_gtype())
#define GPLATE_TAG(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GPLATE_TYPE_TAG, GPlateTag))
#define GPLATE_TAG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GPLATE_TYPE_TAG, GPlateTagClass))
#define GPLATE_IS_TAG(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GPLATE_TYPE_TAG))
#define GPLATE_IS_TAG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GPLATE_TYPE_TAG))
#define GPLATE_TAG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GPLATE_TYPE_TAG, GPlateTagClass))
typedef
struct
_GPlateTag
GPlateTag
;
typedef
struct
_GPlateTagClass
GPlateTagClass
;
#include
<gplate/gplate-template.h>
struct
_GPlateTag
{
GObject
gparent
;
void
(
*
_gplate_reserved1
)(
void
);
void
(
*
_gplate_reserved2
)(
void
);
void
(
*
_gplate_reserved3
)(
void
);
void
(
*
_gplate_reserved4
)(
void
);
};
struct
_GPlateTagClass
{
GObjectClass
parent
;
gchar
*
(
*
get_contents
)(
const
GPlateTag
*
tag
);
const
gchar
*
(
*
get_prefix
)(
const
GPlateTagClass
*
tag_class
);
const
gchar
*
(
*
get_suffix
)(
const
GPlateTagClass
*
tag_class
);
void
(
*
_gplate_reserved1
)(
void
);
void
(
*
_gplate_reserved2
)(
void
);
void
(
*
_gplate_reserved3
)(
void
);
void
(
*
_gplate_reserved4
)(
void
);
};
G_BEGIN_DECLS
GType
gplate_tag_get_gtype
(
void
);
GPlateTemplate
*
gplate_tag_get_template
(
const
GPlateTag
*
tag
);
gchar
*
gplate_tag_get_contents
(
const
GPlateTag
*
tag
);
const
gchar
*
gplate_tag_class_get_prefix
(
const
GPlateTagClass
*
tag_class
);
const
gchar
*
gplate_tag_class_get_suffix
(
const
GPlateTagClass
*
tag_class
);
G_END_DECLS
#endif
/* GPLATE_TAG_H */