Back to index

libindicator  12.10.0
Classes | Defines | Typedefs | Functions
indicator-service.h File Reference
#include <glib.h>
#include <glib-object.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _IndicatorServiceClass
 IndicatorServiceClass: : #GObjectClass : Slot for IndicatorServiceClass::shutdown : Reserved for future use : Reserved for future use : Reserved for future use : Reserved for future use. More...
struct  _IndicatorService
 IndicatorService: : #GObject. More...

Defines

#define INDICATOR_SERVICE_TYPE   (indicator_service_get_type ())
#define INDICATOR_SERVICE(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), INDICATOR_SERVICE_TYPE, IndicatorService))
#define INDICATOR_SERVICE_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), INDICATOR_SERVICE_TYPE, IndicatorServiceClass))
#define INDICATOR_IS_SERVICE(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), INDICATOR_SERVICE_TYPE))
#define INDICATOR_IS_SERVICE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), INDICATOR_SERVICE_TYPE))
#define INDICATOR_SERVICE_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), INDICATOR_SERVICE_TYPE, IndicatorServiceClass))
#define INDICATOR_SERVICE_SIGNAL_SHUTDOWN   "shutdown"

Typedefs

typedef struct _IndicatorService
typedef struct _IndicatorServiceClass

Functions

GType indicator_service_get_type (void)
IndicatorService * indicator_service_new (gchar *name)
IndicatorService * indicator_service_new_version (gchar *name, guint version)

Class Documentation

struct _IndicatorService

IndicatorService: : #GObject.

Definition at line 72 of file indicator-service.h.

Class Members
GObject parent

Define Documentation

#define INDICATOR_IS_SERVICE (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), INDICATOR_SERVICE_TYPE))

Definition at line 35 of file indicator-service.h.

#define INDICATOR_IS_SERVICE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), INDICATOR_SERVICE_TYPE))

Definition at line 36 of file indicator-service.h.

#define INDICATOR_SERVICE (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), INDICATOR_SERVICE_TYPE, IndicatorService))

Definition at line 33 of file indicator-service.h.

#define INDICATOR_SERVICE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), INDICATOR_SERVICE_TYPE, IndicatorServiceClass))

Definition at line 34 of file indicator-service.h.

#define INDICATOR_SERVICE_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), INDICATOR_SERVICE_TYPE, IndicatorServiceClass))

Definition at line 37 of file indicator-service.h.

#define INDICATOR_SERVICE_SIGNAL_SHUTDOWN   "shutdown"

Definition at line 39 of file indicator-service.h.

Definition at line 32 of file indicator-service.h.


Typedef Documentation

typedef struct _IndicatorService

Definition at line 41 of file indicator-service.h.

typedef struct _IndicatorServiceClass

Definition at line 42 of file indicator-service.h.


Function Documentation

GType indicator_service_get_type ( void  )
IndicatorService* indicator_service_new ( gchar *  name)

Definition at line 630 of file indicator-service.c.

{
       GObject * obj = g_object_new(INDICATOR_SERVICE_TYPE,
                                    PROP_NAME_S, name,
                                    NULL);

       return INDICATOR_SERVICE(obj);
}

Here is the caller graph for this function:

IndicatorService* indicator_service_new_version ( gchar *  name,
guint  version 
)

Definition at line 654 of file indicator-service.c.

{
       GObject * obj = g_object_new(INDICATOR_SERVICE_TYPE,
                                    PROP_NAME_S, name,
                                    PROP_VERSION_S, version,
                                    NULL);

       return INDICATOR_SERVICE(obj);
}

Here is the caller graph for this function: