1 /* This file is part of GEGL
2  *
3  * GEGL is free software; you can redistribute it and/or
4  * modify it under the terms of the GNU Lesser General Public
5  * License as published by the Free Software Foundation; either
6  * version 3 of the License, or (at your option) any later version.
7  *
8  * GEGL is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11  * Lesser General Public License for more details.
12  *
13  * You should have received a copy of the GNU Lesser General Public
14  * License along with GEGL; if not, see <https://www.gnu.org/licenses/>.
15  *
16  * Copyright 2003 Calvin Williamson
17  *           2005-2008 Øyvind Kolås
18  */
19 
20 #ifndef __GEGL_OPERATIONS_H__
21 #define __GEGL_OPERATIONS_H__
22 
23 #include <glib-object.h>
24 
25 /* Used to look up the gtype when changing the type of operation associated
26  * a GeglNode using just a string with the registered name.
27  */
28 GType      gegl_operation_gtype_from_name   (const gchar *name);
29 gchar   ** gegl_list_operations             (guint *n_operations_p);
30 void       gegl_operation_gtype_init        (void);
31 void       gegl_operation_gtype_cleanup     (void);
32 
33 void       gegl_operation_class_register_name (GeglOperationClass *klass,
34                                                const gchar        *name,
35                                                const gboolean      is_compat);
36 
37 void       gegl_operations_set_licenses_from_string (const gchar *license_str);
38 
39 #endif
40