Blame gegl/graph/gegl-visitable.h

Packit Service 2781ba
/* This file is part of GEGL
Packit Service 2781ba
 *
Packit Service 2781ba
 * GEGL is free software; you can redistribute it and/or
Packit Service 2781ba
 * modify it under the terms of the GNU Lesser General Public
Packit Service 2781ba
 * License as published by the Free Software Foundation; either
Packit Service 2781ba
 * version 3 of the License, or (at your option) any later version.
Packit Service 2781ba
 *
Packit Service 2781ba
 * GEGL is distributed in the hope that it will be useful,
Packit Service 2781ba
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 2781ba
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service 2781ba
 * Lesser General Public License for more details.
Packit Service 2781ba
 *
Packit Service 2781ba
 * You should have received a copy of the GNU Lesser General Public
Packit Service 2781ba
 * License along with GEGL; if not, see <http://www.gnu.org/licenses/>.
Packit Service 2781ba
 *
Packit Service 2781ba
 * Copyright 2003 Calvin Williamson
Packit Service 2781ba
 */
Packit Service 2781ba
Packit Service 2781ba
#ifndef __GEGL_VISITABLE_H__
Packit Service 2781ba
#define __GEGL_VISITABLE_H__
Packit Service 2781ba
Packit Service 2781ba
G_BEGIN_DECLS
Packit Service 2781ba
Packit Service 2781ba
Packit Service 2781ba
#define GEGL_TYPE_VISITABLE           (gegl_visitable_get_type ())
Packit Service 2781ba
#define GEGL_VISITABLE(obj)           (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEGL_TYPE_VISITABLE, GeglVisitable))
Packit Service 2781ba
#define GEGL_IS_VISITABLE(obj)        (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEGL_TYPE_VISITABLE))
Packit Service 2781ba
#define GEGL_VISITABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GEGL_TYPE_VISITABLE, GeglVisitableClass))
Packit Service 2781ba
Packit Service 2781ba
Packit Service 2781ba
typedef struct _GeglVisitableClass GeglVisitableClass;
Packit Service 2781ba
Packit Service 2781ba
struct _GeglVisitableClass
Packit Service 2781ba
{
Packit Service 2781ba
  GTypeInterface  base_interface;
Packit Service 2781ba
Packit Service 2781ba
  void       (* accept)         (GeglVisitable *interface,
Packit Service 2781ba
                                 GeglVisitor   *visitor);
Packit Service 2781ba
  GSList   * (* depends_on)     (GeglVisitable *interface);
Packit Service 2781ba
};
Packit Service 2781ba
Packit Service 2781ba
Packit Service 2781ba
GType      gegl_visitable_get_type       (void) G_GNUC_CONST;
Packit Service 2781ba
Packit Service 2781ba
void       gegl_visitable_accept         (GeglVisitable *interface,
Packit Service 2781ba
                                          GeglVisitor   *visitor);
Packit Service 2781ba
GSList   * gegl_visitable_depends_on     (GeglVisitable *interface);
Packit Service 2781ba
Packit Service 2781ba
Packit Service 2781ba
Packit Service 2781ba
G_END_DECLS
Packit Service 2781ba
Packit Service 2781ba
#endif /* __GEGL_VISITABLE_H__ */