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

gcm-gl-desktop.h

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

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



#include "gcm-xorg.h"
#include "gcm-xorg-template.h"
#include "gcm-gl-plugin.h"
#include "gcm-gl-option.h"


/*
 * Type checking and casting macros
 */
#define GCM_TYPE_GL_DESKTOP   (gcm_gl_desktop_get_type())
#define GCM_GL_DESKTOP(obj)   G_TYPE_CHECK_INSTANCE_CAST((obj), gcm_gl_desktop_get_type(), GCMGLDesktop)
#define GCM_GL_DESKTOP_CONST(obj)   G_TYPE_CHECK_INSTANCE_CAST((obj), gcm_gl_desktop_get_type(), GCMGLDesktop const)
#define GCM_GL_DESKTOP_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), gcm_gl_desktop_get_type(), GCMGLDesktopClass)
#define GCM_IS_GL_DESKTOP(obj)      G_TYPE_CHECK_INSTANCE_TYPE((obj), gcm_gl_desktop_get_type ())

#define GCM_GL_DESKTOP_GET_CLASS(obj)     G_TYPE_INSTANCE_GET_CLASS((obj), gcm_gl_desktop_get_type(), GCMGLDesktopClass)

/* Private structure type */
typedef struct _GCMGLDesktopPrivate GCMGLDesktopPrivate;

/*
 * Main object structure
 */
#ifndef __TYPEDEF_GCM_GL_DESKTOP__
#define __TYPEDEF_GCM_GL_DESKTOP__
typedef struct _GCMGLDesktop GCMGLDesktop;
#endif
struct _GCMGLDesktop {
      GObject __parent__;
      /*< private >*/
      GCMGLDesktopPrivate *_priv;
};

/*
 * Class definition
 */
typedef struct _GCMGLDesktopClass GCMGLDesktopClass;
struct _GCMGLDesktopClass {
      GObjectClass __parent__;
};


/*
 * Public methods
 */
GType gcm_gl_desktop_get_type (void);
gpointer    gcm_gl_desktop_get_xorg (GCMGLDesktop * self);
gpointer    gcm_gl_desktop_get_templates  (GCMGLDesktop * self);
guint       gcm_gl_desktop_get_version    (GCMGLDesktop * self);
GCMGLDesktop *    gcm_gl_desktop_new      (void);
gboolean    gcm_gl_desktop_start    (GCMGLDesktop * self);
void  gcm_gl_desktop_stop     (GCMGLDesktop * self);
gboolean    gcm_gl_desktop_enabled  (GCMGLDesktop * self);
gboolean    gcm_gl_desktop_session_startup_active     (GCMGLDesktop * self);
void  gcm_gl_desktop_activate_on_startup  (GCMGLDesktop * self);
void  gcm_gl_desktop_desactivate_on_startup     (GCMGLDesktop * self);
gboolean    gcm_gl_desktop_register_and_enable_plugin (GCMGLDesktop * self,
                              gchar * name);
gboolean    gcm_gl_desktop_register_plugin      (GCMGLDesktop * self,
                              gchar * name);
gboolean    gcm_gl_desktop_enable_plugin  (GCMGLDesktop * self,
                              gchar * name);
void  gcm_gl_desktop_disable_plugin (GCMGLDesktop * self,
                              gchar * name);
gboolean    gcm_gl_desktop_plugin_is_active     (GCMGLDesktop * self,
                              gchar * name);
GCMGLPlugin *     gcm_gl_desktop_get_plugin     (GCMGLDesktop * self,
                              gchar * name);
void  gcm_gl_desktop_window_decorator_autostart (GCMGLDesktop * self,
                              gboolean enable);
GCMGLOption *     gcm_gl_desktop_get_option     (GCMGLDesktop * self,
                              gchar * name,
                              gint screen);
gchar *     gcm_gl_desktop_get_gl_manager (GCMGLDesktop * self);

/*
 * Argument wrapping macros
 */
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
#define GCM_GL_DESKTOP_GET_PROP_XORG(arg) "xorg", __extension__ ({gpointer *z = (arg); z;})
#define GCM_GL_DESKTOP_GET_PROP_TEMPLATES(arg)  "templates", __extension__ ({gpointer *z = (arg); z;})
#define GCM_GL_DESKTOP_GET_PROP_VERSION(arg)    "version", __extension__ ({guint *z = (arg); z;})
#else /* __GNUC__ && !__STRICT_ANSI__ */
#define GCM_GL_DESKTOP_GET_PROP_XORG(arg) "xorg",(gpointer *)(arg)
#define GCM_GL_DESKTOP_GET_PROP_TEMPLATES(arg)  "templates",(gpointer *)(arg)
#define GCM_GL_DESKTOP_GET_PROP_VERSION(arg)    "version",(guint *)(arg)
#endif /* __GNUC__ && !__STRICT_ANSI__ */


#endif

Generated by  Doxygen 1.6.0   Back to index