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

nautilus-actions-config-gconf.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_GCONF_H__
#define __NAUTILUS_ACTIONS_CONFIG_GCONF_H__

#include <glib/glist.h>
#include <glib-object.h>
#include <gconf/gconf-client.h>
#include "nautilus-actions-config.h"

G_BEGIN_DECLS

#define NAUTILUS_ACTIONS_TYPE_CONFIG_GCONF            (nautilus_actions_config_gconf_get_type())
#define NAUTILUS_ACTIONS_CONFIG_GCONF(obj)            (G_TYPE_CHECK_INSTANCE_CAST (obj, NAUTILUS_ACTIONS_TYPE_CONFIG_GCONF, NautilusActionsConfigGconf))
#define NAUTILUS_ACTIONS_CONFIG_GCONF_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST (klass, NAUTILUS_ACTIONS_TYPE_CONFIG_GCONF, NautilusActionsConfigGconfClass))
#define NAUTILUS_ACTIONS_IS_CONFIG_GCONF(obj)         (G_TYPE_CHECK_INSTANCE_TYPE(obj, NAUTILUS_ACTIONS_TYPE_CONFIG_GCONF))
#define NAUTILUS_ACTIONS_IS_CONFIG_GCONF_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), NAUTILUS_ACTIONS_TYPE_CONFIG_GCONF))
#define NAUTILUS_ACTIONS_CONFIG_GCONF_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj), NAUTILUS_ACTIONS_TYPE_CONFIG_GCONF, NautilusActionsConfigGconfClass))

typedef struct _NautilusActionsConfigGconf NautilusActionsConfigGconf;
typedef struct _NautilusActionsConfigGconfClass NautilusActionsConfigGconfClass;

struct _NautilusActionsConfigGconf {
      NautilusActionsConfig parent;

      /* Private data, don't access */
      GConfClient *conf_client;
};

struct _NautilusActionsConfigGconfClass {
      NautilusActionsConfigClass parent_class;

};

GType                        nautilus_actions_config_gconf_get_type (void);
NautilusActionsConfigGconf       *nautilus_actions_config_gconf_get (void);

/* Get an action from GConf using its uuid as index */
NautilusActionsConfigAction* nautilus_actions_config_gconf_get_action (NautilusActionsConfigGconf* config, const gchar* uuid);

G_END_DECLS

#endif /* __NAUTILUS_ACTIONS_CONFIG_GCONF_H__ */

Generated by  Doxygen 1.6.0   Back to index