grim/gplate
Clone
Summary
Browse
Changes
Graph
remove some functions from the docs that were removed from the api awhile ago
2009-06-22, Gary Kramlich
920ca17486e6
remove some functions from the docs that were removed from the api awhile ago
/*
* 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_LIBRARY_H
#define GPLATE_LIBRARY_H
#include
<glib.h>
#include
<gplate/gplate-function.h>
#include
<gplate/gplate-tag.h>
G_BEGIN_DECLS
typedef
void
(
*
GPlateLibraryTagsForeachFunc
)(
GType
tag
,
const
gchar
*
prefix
,
const
gchar
*
suffix
,
gpointer
data
);
gboolean
gplate_library_add_function
(
const
gchar
*
name
,
GType
function
,
GError
**
error
);
gboolean
gplate_library_remove_function
(
const
gchar
*
name
,
GError
**
error
);
gboolean
gplate_library_add_tag
(
GType
tag
,
GError
**
error
);
gboolean
gplate_library_remove_tag
(
GType
tag
,
GError
**
error
);
gboolean
gplate_library_bind_function
(
const
gchar
*
name
,
GType
tag
,
GError
**
error
);
gboolean
gplate_library_unbind_function
(
const
gchar
*
name
,
GError
**
error
);
gboolean
gplate_library_add_bound_function
(
const
gchar
*
name
,
GType
function
,
GType
tag
,
GError
**
error
);
gboolean
gplate_library_lookup_function
(
const
gchar
*
name
,
GType
*
function
,
GType
*
tag
,
GError
**
error
);
GType
gplate_library_lookup_function_for_tag
(
const
gchar
*
name
,
GType
tag
,
GError
**
error
);
gboolean
gplate_library_lookup_tag
(
GType
tag
,
gchar
**
prefix
,
gchar
**
suffix
,
GError
**
error
);
GType
gplate_library_get_default_tag
(
void
);
gboolean
gplate_library_set_default_function_for_tag
(
const
gchar
*
name
,
GType
tag
,
GError
**
error
);
GType
gplate_library_get_default_function_for_tag
(
GType
tag
,
GError
**
error
);
void
gplate_library_tags_foreach
(
GPlateLibraryTagsForeachFunc
func
,
gpointer
data
);
G_END_DECLS
#endif
/* GPLATE_LIBRARY_H */