/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/*
 * Copyright (C) 2011 Red Hat, Inc
 *
 * 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, 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 program; if not, see <http://www.gnu.org/licenses/>.
 *
 * Authors:
 *      Jasper St. Pierre <jstpierre@mecheye.net>
 */

#ifndef __SCSM_SHELL_EXTENSIONS_H
#define __SCSM_SHELL_EXTENSIONS_H

#include <glib-object.h>

G_BEGIN_DECLS

#define SCSM_TYPE_SHELL_EXTENSIONS            (scsm_shell_extensions_get_type ())
#define SCSM_SHELL_EXTENSIONS(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCSM_TYPE_SHELL_EXTENSIONS, ScsmShellExtensions))
#define SCSM_SHELL_EXTENSIONS_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass),  SCSM_TYPE_SHELL_EXTENSIONS, ScsmShellExtensionsClass))
#define SCSM_IS_SHELL_EXTENSIONS(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCSM_TYPE_SHELL_EXTENSIONS))
#define SCSM_IS_SHELL_EXTENSIONS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),  SCSM_TYPE_SHELL_EXTENSIONS))
#define SCSM_SHELL_EXTENSIONS_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj),  SCSM_TYPE_SHELL_EXTENSIONS, ScsmShellExtensionsClass))

typedef struct _ScsmShellExtensions        ScsmShellExtensions;
typedef struct _ScsmShellExtensionsClass   ScsmShellExtensionsClass;
typedef struct _ScsmShellExtensionsPrivate ScsmShellExtensionsPrivate;

struct _ScsmShellExtensions
{
    GObject parent;

    /*< private >*/
    ScsmShellExtensionsPrivate *priv;
};

struct _ScsmShellExtensionsClass
{
    GObjectClass parent_class;
};

GType scsm_shell_extensions_get_type                   (void) G_GNUC_CONST;

gboolean scsm_shell_extensions_disable_all             (ScsmShellExtensions *self);

guint scsm_shell_extensions_n_extensions               (ScsmShellExtensions *self);

G_END_DECLS

#endif /* __SCSM_SHELL_EXTENSIONS_H */
