Logo Search packages:      
Sourcecode: nautilus-actions version File versions  Download package

nautilus-actions-config-schema-reader.h

/*
 * Nautilus Actions
 *
 * Copyright (C) 2005 The GNOME Foundation
 * Copyright (C) 2006, 2007, 2008 Frederic Ruaudel and others (see AUTHORS)
 * Copyright (C) 2009 Pierre Wieser and others (see AUTHORS)
 *
 * 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.
 *
 * Authors:
 *   Frederic Ruaudel <grumz@grumz.net>
 *   Rodrigo Moya <rodrigo@gnome-db.org>
 *   Pierre Wieser <pwieser@trychlos.org>
 *   ... and many others (see AUTHORS)
 */

#ifndef __NAUTILUS_ACTIONS_CONFIG_SCHEMA_READER_H__
#define __NAUTILUS_ACTIONS_CONFIG_SCHEMA_READER_H__

#include <glib/glist.h>
#include <glib-object.h>
#include <gconf/gconf-client.h>
#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 /* __NAUTILUS_ACTIONS_CONFIG_SCHEMA_READER_H__ */

Generated by  Doxygen 1.6.0   Back to index