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

gcm-xorg-template.h

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

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



#include "gcm-xorg-config.h"

#define GCM_XORG_TEMPLATE_DIR PACKAGE_DATA_DIR"/gnome-compiz-manager/templates"
/*#define GCM_XORG_TEMPLATE_DIR "data"*/


/*
 * Type checking and casting macros
 */
#define GCM_TYPE_XORG_TEMPLATE      (gcm_xorg_template_get_type())
#define GCM_XORG_TEMPLATE(obj)      G_TYPE_CHECK_INSTANCE_CAST((obj), gcm_xorg_template_get_type(), GCMXorgTemplate)
#define GCM_XORG_TEMPLATE_CONST(obj)      G_TYPE_CHECK_INSTANCE_CAST((obj), gcm_xorg_template_get_type(), GCMXorgTemplate const)
#define GCM_XORG_TEMPLATE_CLASS(klass)    G_TYPE_CHECK_CLASS_CAST((klass), gcm_xorg_template_get_type(), GCMXorgTemplateClass)
#define GCM_IS_XORG_TEMPLATE(obj)   G_TYPE_CHECK_INSTANCE_TYPE((obj), gcm_xorg_template_get_type ())

#define GCM_XORG_TEMPLATE_GET_CLASS(obj)  G_TYPE_INSTANCE_GET_CLASS((obj), gcm_xorg_template_get_type(), GCMXorgTemplateClass)

/* Private structure type */
typedef struct _GCMXorgTemplatePrivate GCMXorgTemplatePrivate;

/*
 * Main object structure
 */
#ifndef __TYPEDEF_GCM_XORG_TEMPLATE__
#define __TYPEDEF_GCM_XORG_TEMPLATE__
typedef struct _GCMXorgTemplate GCMXorgTemplate;
#endif
struct _GCMXorgTemplate {
      GObject __parent__;
      /*< private >*/
      GCMXorgTemplatePrivate *_priv;
};

/*
 * Class definition
 */
typedef struct _GCMXorgTemplateClass GCMXorgTemplateClass;
struct _GCMXorgTemplateClass {
      GObjectClass __parent__;
      /*signal*/gint (* depth_choice) (GCMXorgTemplate * self, gchar ** vals, gint def);
};


/*
 * Public methods
 */
GType gcm_xorg_template_get_type    (void);
gchar *     gcm_xorg_template_get_name    (GCMXorgTemplate * self);
gchar *     gcm_xorg_template_get_author  (GCMXorgTemplate * self);
gchar *     gcm_xorg_template_get_email   (GCMXorgTemplate * self);
gpointer    gcm_xorg_template_get_config  (GCMXorgTemplate * self);
gchar *     gcm_xorg_template_get_filename      (GCMXorgTemplate * self);
gboolean    gcm_xorg_template_get_parsed  (GCMXorgTemplate * self);
gboolean    gcm_xorg_template_get_modified      (GCMXorgTemplate * self);
gint  gcm_xorg_template_depth_choice      (GCMXorgTemplate * self,
                              gchar ** vals,
                              gint def);
GCMXorgTemplate *       gcm_xorg_template_new   (gchar * filename,
                              gboolean xgl,
                              gboolean aiglx);
gboolean    gcm_xorg_template_parse (GCMXorgTemplate * self);

/*
 * Signal connection wrapper macros
 */
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
#define gcm_xorg_template_connect__depth_choice(object,func,data) g_signal_connect(GCM_XORG_TEMPLATE(__extension__ ({GCMXorgTemplate *___object = (object); ___object; })),"depth_choice",(GCallback) __extension__ ({gint (* ___depth_choice) (GCMXorgTemplate * ___fake___self, gchar ** ___fake___vals, gint ___fake___def, gpointer ___data ) = (func); ___depth_choice; }), (data))
#define gcm_xorg_template_connect_after__depth_choice(object,func,data) g_signal_connect_after(GCM_XORG_TEMPLATE(__extension__ ({GCMXorgTemplate *___object = (object); ___object; })),"depth_choice",(GCallback) __extension__ ({gint (* ___depth_choice) (GCMXorgTemplate * ___fake___self, gchar ** ___fake___vals, gint ___fake___def, gpointer ___data ) = (func); ___depth_choice; }), (data))
#define gcm_xorg_template_connect_data__depth_choice(object,func,data,destroy_data,flags) g_signal_connect_data(GCM_XORG_TEMPLATE(__extension__ ({GCMXorgTemplate *___object = (object); ___object; })),"depth_choice",(GCallback) __extension__ ({gint (* ___depth_choice) (GCMXorgTemplate * ___fake___self, gchar ** ___fake___vals, gint ___fake___def, gpointer ___data ) = (func); ___depth_choice; }), (data), (destroy_data), (GConnectFlags)(flags))
#else /* __GNUC__ && !__STRICT_ANSI__ */
#define gcm_xorg_template_connect__depth_choice(object,func,data) g_signal_connect(GCM_XORG_TEMPLATE(object),"depth_choice",(GCallback)(func),(data))
#define gcm_xorg_template_connect_after__depth_choice(object,func,data) g_signal_connect_after(GCM_XORG_TEMPLATE(object),"depth_choice",(GCallback)(func),(data))
#define gcm_xorg_template_connect_data__depth_choice(object,func,data,destroy_data,flags) g_signal_connect_data(GCM_XORG_TEMPLATE(object),"depth_choice",(GCallback)(func),(data),(destroy_data),(GConnectFlags)(flags))
#endif /* __GNUC__ && !__STRICT_ANSI__ */


/*
 * Argument wrapping macros
 */
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
#define GCM_XORG_TEMPLATE_GET_PROP_NAME(arg)    "name", __extension__ ({gchar **z = (arg); z;})
#define GCM_XORG_TEMPLATE_GET_PROP_AUTHOR(arg)  "author", __extension__ ({gchar **z = (arg); z;})
#define GCM_XORG_TEMPLATE_GET_PROP_EMAIL(arg)   "email", __extension__ ({gchar **z = (arg); z;})
#define GCM_XORG_TEMPLATE_GET_PROP_CONFIG(arg)  "config", __extension__ ({gpointer *z = (arg); z;})
#define GCM_XORG_TEMPLATE_GET_PROP_FILENAME(arg)      "filename", __extension__ ({gchar **z = (arg); z;})
#define GCM_XORG_TEMPLATE_GET_PROP_PARSED(arg)  "parsed", __extension__ ({gboolean *z = (arg); z;})
#define GCM_XORG_TEMPLATE_GET_PROP_MODIFIED(arg)      "modified", __extension__ ({gboolean *z = (arg); z;})
#else /* __GNUC__ && !__STRICT_ANSI__ */
#define GCM_XORG_TEMPLATE_GET_PROP_NAME(arg)    "name",(gchar **)(arg)
#define GCM_XORG_TEMPLATE_GET_PROP_AUTHOR(arg)  "author",(gchar **)(arg)
#define GCM_XORG_TEMPLATE_GET_PROP_EMAIL(arg)   "email",(gchar **)(arg)
#define GCM_XORG_TEMPLATE_GET_PROP_CONFIG(arg)  "config",(gpointer *)(arg)
#define GCM_XORG_TEMPLATE_GET_PROP_FILENAME(arg)      "filename",(gchar **)(arg)
#define GCM_XORG_TEMPLATE_GET_PROP_PARSED(arg)  "parsed",(gboolean *)(arg)
#define GCM_XORG_TEMPLATE_GET_PROP_MODIFIED(arg)      "modified",(gboolean *)(arg)
#endif /* __GNUC__ && !__STRICT_ANSI__ */


#endif

Generated by  Doxygen 1.6.0   Back to index