Logo Search packages:      
Sourcecode: gnome-compiz-manager version File versions

gcm-xorg-config.h

/* Generated by GOB (v2.0.14)   (do not edit directly) */

#include <glib.h>
#include <glib-object.h>
#ifndef __GCM_XORG_CONFIG_H__
#define __GCM_XORG_CONFIG_H__



#include "xf86Parser.h"

GenericListPtr
xf86RemoveListItem (GenericListPtr head, GenericListPtr item);

GenericListPtr
xf86ReOrderItem(GenericListPtr head,
                      GenericListPtr position,
                        GenericListPtr item);


/*
 * Type checking and casting macros
 */
#define GCM_TYPE_XORG_CONFIG  (gcm_xorg_config_get_type())
#define GCM_XORG_CONFIG(obj)  G_TYPE_CHECK_INSTANCE_CAST((obj), gcm_xorg_config_get_type(), GCMXorgConfig)
#define GCM_XORG_CONFIG_CONST(obj)  G_TYPE_CHECK_INSTANCE_CAST((obj), gcm_xorg_config_get_type(), GCMXorgConfig const)
#define GCM_XORG_CONFIG_CLASS(klass)      G_TYPE_CHECK_CLASS_CAST((klass), gcm_xorg_config_get_type(), GCMXorgConfigClass)
#define GCM_IS_XORG_CONFIG(obj)     G_TYPE_CHECK_INSTANCE_TYPE((obj), gcm_xorg_config_get_type ())

#define GCM_XORG_CONFIG_GET_CLASS(obj)    G_TYPE_INSTANCE_GET_CLASS((obj), gcm_xorg_config_get_type(), GCMXorgConfigClass)

/* Private structure type */
typedef struct _GCMXorgConfigPrivate GCMXorgConfigPrivate;

/*
 * Main object structure
 */
#ifndef __TYPEDEF_GCM_XORG_CONFIG__
#define __TYPEDEF_GCM_XORG_CONFIG__
typedef struct _GCMXorgConfig GCMXorgConfig;
#endif
struct _GCMXorgConfig {
      GObject __parent__;
      /*< private >*/
      GCMXorgConfigPrivate *_priv;
};

/*
 * Class definition
 */
typedef struct _GCMXorgConfigClass GCMXorgConfigClass;
struct _GCMXorgConfigClass {
      GObjectClass __parent__;
};


/*
 * Public methods
 */
GType gcm_xorg_config_get_type      (void);
gchar *     gcm_xorg_config_get_filename  (GCMXorgConfig * self);
GCMXorgConfig *   gcm_xorg_config_new     (void);
gboolean    gcm_xorg_config_write   (GCMXorgConfig * self,
                              gchar * filename,
                              gchar ** backup);
XF86ConfDevicePtr       gcm_xorg_config_get_devices   (GCMXorgConfig * self);
XF86ConfScreenPtr       gcm_xorg_config_get_screens   (GCMXorgConfig * self);
XF86ConfModulePtr       gcm_xorg_config_get_modules   (GCMXorgConfig * self);
XF86ConfExtensionsPtr   gcm_xorg_config_get_extensions      (GCMXorgConfig * self);

/*
 * Argument wrapping macros
 */
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
#define GCM_XORG_CONFIG_GET_PROP_FILENAME(arg)  "filename", __extension__ ({gchar **z = (arg); z;})
#else /* __GNUC__ && !__STRICT_ANSI__ */
#define GCM_XORG_CONFIG_GET_PROP_FILENAME(arg)  "filename",(gchar **)(arg)
#endif /* __GNUC__ && !__STRICT_ANSI__ */


#endif

Generated by  Doxygen 1.6.0   Back to index