/* Nautilus Actions configuration tool * Copyright (C) 2005 The GNOME Foundation * * Authors: * Frederic Ruaudel (grumz@grumz.net) * Rodrigo Moya (rodrigo@gnome-db.org) * * 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 Library; see the file COPYING. If not, * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #ifndef _NAUTILUS_ACTIONS_CONFIG_SCHEMA_READER_H_ #define _NAUTILUS_ACTIONS_CONFIG_SCHEMA_READER_H_ #include #include #include #include "nautilus-actions-config.h" G_BEGIN_DECLS // Error Data #define NAUTILUS_ACTIONS_SCHEMA_READER_ERROR g_quark_from_string ("nautilus_actions_config_schema_reader") typedef enum { NAUTILUS_ACTIONS_SCHEMA_READER_ERROR_FAILED } NautilusActionsSchemaReaderError; #define NAUTILUS_ACTIONS_TYPE_CONFIG_SCHEMA_READER (nautilus_actions_config_schema_reader_get_type()) #define NAUTILUS_ACTIONS_CONFIG_SCHEMA_READER(obj) (G_TYPE_CHECK_INSTANCE_CAST (obj, NAUTILUS_ACTIONS_TYPE_CONFIG_SCHEMA_READER, NautilusActionsConfigSchemaReader)) #define NAUTILUS_ACTIONS_CONFIG_SCHEMA_READER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (klass, NAUTILUS_ACTIONS_TYPE_CONFIG_SCHEMA_READER, NautilusActionsConfigSchemaReaderClass)) #define NAUTILUS_ACTIONS_IS_CONFIG_SCHEMA_READER(obj) (G_TYPE_CHECK_INSTANCE_TYPE(obj, NAUTILUS_ACTIONS_TYPE_CONFIG_SCHEMA_READER)) #define NAUTILUS_ACTIONS_IS_CONFIG_SCHEMA_READER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), NAUTILUS_ACTIONS_TYPE_CONFIG_SCHEMA_READER)) typedef struct _NautilusActionsConfigSchemaReader NautilusActionsConfigSchemaReader; typedef struct _NautilusActionsConfigSchemaReaderClass NautilusActionsConfigSchemaReaderClass; struct _NautilusActionsConfigSchemaReader { NautilusActionsConfig parent; /* Private data, don't access */ }; struct _NautilusActionsConfigSchemaReaderClass { NautilusActionsConfigClass parent_class; }; GType nautilus_actions_config_schema_reader_get_type (void); NautilusActionsConfigSchemaReader *nautilus_actions_config_schema_reader_get (void); gboolean nautilus_actions_config_schema_reader_parse_file (NautilusActionsConfigSchemaReader* config, const gchar* filename, GError** error); G_END_DECLS #endif // vim:ts=3:sw=3:tw=1024:cin