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

gcm-gl-option.h

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

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



#include "gcm-gl-color.h"


typedef enum {
      GCM_GL_OPTION_SCREEN_NONE = -2,
      GCM_GL_OPTION_SCREEN_ALL = -1,
      GCM_GL_OPTION_SCREEN_ONE = 0,
      GCM_GL_OPTION_SCREEN_TWO = 1
} GCMGLOptionScreen;
#define GCM_TYPE_GL_OPTION_SCREEN gcm_gl_option_screen_get_type()
GType gcm_gl_option_screen_get_type (void);


/*
 * Type checking and casting macros
 */
#define GCM_TYPE_GL_OPTION    (gcm_gl_option_get_type())
#define GCM_GL_OPTION(obj)    G_TYPE_CHECK_INSTANCE_CAST((obj), gcm_gl_option_get_type(), GCMGLOption)
#define GCM_GL_OPTION_CONST(obj)    G_TYPE_CHECK_INSTANCE_CAST((obj), gcm_gl_option_get_type(), GCMGLOption const)
#define GCM_GL_OPTION_CLASS(klass)  G_TYPE_CHECK_CLASS_CAST((klass), gcm_gl_option_get_type(), GCMGLOptionClass)
#define GCM_IS_GL_OPTION(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), gcm_gl_option_get_type ())

#define GCM_GL_OPTION_GET_CLASS(obj)      G_TYPE_INSTANCE_GET_CLASS((obj), gcm_gl_option_get_type(), GCMGLOptionClass)

/*
 * Main object structure
 */
#ifndef __TYPEDEF_GCM_GL_OPTION__
#define __TYPEDEF_GCM_GL_OPTION__
typedef struct _GCMGLOption GCMGLOption;
#endif
struct _GCMGLOption {
      GObject __parent__;
      /*< private >*/
      gboolean plugin; /* protected */
      gchar * owner; /* protected */
      gchar * name; /* protected */
      gint screen; /* protected */
};

/*
 * Class definition
 */
typedef struct _GCMGLOptionClass GCMGLOptionClass;
struct _GCMGLOptionClass {
      GObjectClass __parent__;
      /*signal*/void (* changed) (GCMGLOption * self);
      gboolean (* get_boolean) (GCMGLOption * self);
      void (* set_boolean) (GCMGLOption * self, gboolean value);
      gint (* get_integer) (GCMGLOption * self);
      void (* set_integer) (GCMGLOption * self, gint value);
      gfloat (* get_float) (GCMGLOption * self);
      void (* set_float) (GCMGLOption * self, gfloat value);
      gchar * (* get_string) (GCMGLOption * self);
      void (* set_string) (GCMGLOption * self, gchar * value);
      GSList * (* get_string_list) (GCMGLOption * self);
      void (* set_string_list) (GCMGLOption * self, GSList * value);
      void (* notification_add) (GCMGLOption * self);
      gchar * (* get_description) (GCMGLOption * self);
};


/*
 * Public methods
 */
GType gcm_gl_option_get_type  (void);
void  gcm_gl_option_changed   (GCMGLOption * self);
gboolean    gcm_gl_option_get_boolean     (GCMGLOption * self);
void  gcm_gl_option_set_boolean     (GCMGLOption * self,
                              gboolean value);
gint  gcm_gl_option_get_integer     (GCMGLOption * self);
void  gcm_gl_option_set_integer     (GCMGLOption * self,
                              gint value);
gfloat      gcm_gl_option_get_float (GCMGLOption * self);
void  gcm_gl_option_set_float (GCMGLOption * self,
                              gfloat value);
gchar *     gcm_gl_option_get_string      (GCMGLOption * self);
void  gcm_gl_option_set_string      (GCMGLOption * self,
                              gchar * value);
GSList *    gcm_gl_option_get_string_list (GCMGLOption * self);
void  gcm_gl_option_set_string_list (GCMGLOption * self,
                              GSList * value);
void  gcm_gl_option_notification_add      (GCMGLOption * self);
gchar *     gcm_gl_option_get_description (GCMGLOption * self);
GCMGLColor *      gcm_gl_option_get_color (GCMGLOption * self);
void  gcm_gl_option_set_color (GCMGLOption * self,
                              GCMGLColor * value);

/*
 * Signal connection wrapper macros
 */
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
#define gcm_gl_option_connect__changed(object,func,data)    g_signal_connect(GCM_GL_OPTION(__extension__ ({GCMGLOption *___object = (object); ___object; })),"changed",(GCallback) __extension__ ({void (* ___changed) (GCMGLOption * ___fake___self, gpointer ___data ) = (func); ___changed; }), (data))
#define gcm_gl_option_connect_after__changed(object,func,data)    g_signal_connect_after(GCM_GL_OPTION(__extension__ ({GCMGLOption *___object = (object); ___object; })),"changed",(GCallback) __extension__ ({void (* ___changed) (GCMGLOption * ___fake___self, gpointer ___data ) = (func); ___changed; }), (data))
#define gcm_gl_option_connect_data__changed(object,func,data,destroy_data,flags)    g_signal_connect_data(GCM_GL_OPTION(__extension__ ({GCMGLOption *___object = (object); ___object; })),"changed",(GCallback) __extension__ ({void (* ___changed) (GCMGLOption * ___fake___self, gpointer ___data ) = (func); ___changed; }), (data), (destroy_data), (GConnectFlags)(flags))
#else /* __GNUC__ && !__STRICT_ANSI__ */
#define gcm_gl_option_connect__changed(object,func,data)    g_signal_connect(GCM_GL_OPTION(object),"changed",(GCallback)(func),(data))
#define gcm_gl_option_connect_after__changed(object,func,data)    g_signal_connect_after(GCM_GL_OPTION(object),"changed",(GCallback)(func),(data))
#define gcm_gl_option_connect_data__changed(object,func,data,destroy_data,flags)    g_signal_connect_data(GCM_GL_OPTION(object),"changed",(GCallback)(func),(data),(destroy_data),(GConnectFlags)(flags))
#endif /* __GNUC__ && !__STRICT_ANSI__ */


#endif

Generated by  Doxygen 1.6.0   Back to index