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

gcm-application.h

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

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


/*
 * Type checking and casting macros
 */
#define GCM_TYPE_APPLICATION  (gcm_application_get_type())
#define GCM_APPLICATION(obj)  G_TYPE_CHECK_INSTANCE_CAST((obj), gcm_application_get_type(), GCMApplication)
#define GCM_APPLICATION_CONST(obj)  G_TYPE_CHECK_INSTANCE_CAST((obj), gcm_application_get_type(), GCMApplication const)
#define GCM_APPLICATION_CLASS(klass)      G_TYPE_CHECK_CLASS_CAST((klass), gcm_application_get_type(), GCMApplicationClass)
#define GCM_IS_APPLICATION(obj)     G_TYPE_CHECK_INSTANCE_TYPE((obj), gcm_application_get_type ())

#define GCM_APPLICATION_GET_CLASS(obj)    G_TYPE_INSTANCE_GET_CLASS((obj), gcm_application_get_type(), GCMApplicationClass)

/* Private structure type */
typedef struct _GCMApplicationPrivate GCMApplicationPrivate;

/*
 * Main object structure
 */
#ifndef __TYPEDEF_GCM_APPLICATION__
#define __TYPEDEF_GCM_APPLICATION__
typedef struct _GCMApplication GCMApplication;
#endif
struct _GCMApplication {
      GObject __parent__;
      /*< private >*/
      GCMApplicationPrivate *_priv;
};

/*
 * Class definition
 */
typedef struct _GCMApplicationClass GCMApplicationClass;
struct _GCMApplicationClass {
      GObjectClass __parent__;
      /*signal*/void (* data) (GCMApplication * self, gchar * buffer);
};


/*
 * Public methods
 */
GType gcm_application_get_type      (void);
gchar *     gcm_application_get_name      (GCMApplication * self);
void  gcm_application_set_name      (GCMApplication * self,
                              gchar * val);
void  gcm_application_set_argv      (GCMApplication * self,
                              gpointer val);
void  gcm_application_data    (GCMApplication * self,
                              gchar * buffer);
GCMApplication *  gcm_application_new     (gchar * name,
                              gchar * real_name,
                              GList * argv);
gchar *     gcm_application_run     (GCMApplication * self);
gboolean    gcm_application_start   (GCMApplication * self);
void  gcm_application_stop    (GCMApplication * self);
gint  gcm_application_get_pid (GCMApplication * self);

/*
 * Signal connection wrapper macros
 */
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
#define gcm_application_connect__data(object,func,data)     g_signal_connect(GCM_APPLICATION(__extension__ ({GCMApplication *___object = (object); ___object; })),"data",(GCallback) __extension__ ({void (* ___data) (GCMApplication * ___fake___self, gchar * ___fake___buffer, gpointer ___data ) = (func); ___data; }), (data))
#define gcm_application_connect_after__data(object,func,data)     g_signal_connect_after(GCM_APPLICATION(__extension__ ({GCMApplication *___object = (object); ___object; })),"data",(GCallback) __extension__ ({void (* ___data) (GCMApplication * ___fake___self, gchar * ___fake___buffer, gpointer ___data ) = (func); ___data; }), (data))
#define gcm_application_connect_data__data(object,func,data,destroy_data,flags)     g_signal_connect_data(GCM_APPLICATION(__extension__ ({GCMApplication *___object = (object); ___object; })),"data",(GCallback) __extension__ ({void (* ___data) (GCMApplication * ___fake___self, gchar * ___fake___buffer, gpointer ___data ) = (func); ___data; }), (data), (destroy_data), (GConnectFlags)(flags))
#else /* __GNUC__ && !__STRICT_ANSI__ */
#define gcm_application_connect__data(object,func,data)     g_signal_connect(GCM_APPLICATION(object),"data",(GCallback)(func),(data))
#define gcm_application_connect_after__data(object,func,data)     g_signal_connect_after(GCM_APPLICATION(object),"data",(GCallback)(func),(data))
#define gcm_application_connect_data__data(object,func,data,destroy_data,flags)     g_signal_connect_data(GCM_APPLICATION(object),"data",(GCallback)(func),(data),(destroy_data),(GConnectFlags)(flags))
#endif /* __GNUC__ && !__STRICT_ANSI__ */


/*
 * Argument wrapping macros
 */
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
#define GCM_APPLICATION_PROP_NAME(arg)          "name", __extension__ ({gchar *z = (arg); z;})
#define GCM_APPLICATION_GET_PROP_NAME(arg)      "name", __extension__ ({gchar **z = (arg); z;})
#define GCM_APPLICATION_PROP_ARGV(arg)          "argv", __extension__ ({gpointer z = (arg); z;})
#else /* __GNUC__ && !__STRICT_ANSI__ */
#define GCM_APPLICATION_PROP_NAME(arg)          "name",(gchar *)(arg)
#define GCM_APPLICATION_GET_PROP_NAME(arg)      "name",(gchar **)(arg)
#define GCM_APPLICATION_PROP_ARGV(arg)          "argv",(gpointer )(arg)
#endif /* __GNUC__ && !__STRICT_ANSI__ */


#endif

Generated by  Doxygen 1.6.0   Back to index