Back to index

libindicator  12.10.0
Classes | Defines | Typedefs | Functions
dummy-indicator-null.c File Reference
#include <glib.h>
#include <glib-object.h>
#include "libindicator/indicator.h"
#include "libindicator/indicator-object.h"

Go to the source code of this file.

Classes

struct  _DummyIndicatorNullClass
struct  _DummyIndicatorNull

Defines

#define DUMMY_INDICATOR_NULL_TYPE   (dummy_indicator_null_get_type ())
#define DUMMY_INDICATOR_NULL(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), DUMMY_INDICATOR_NULL_TYPE, DummyIndicatorNull))
#define DUMMY_INDICATOR_NULL_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), DUMMY_INDICATOR_NULL_TYPE, DummyIndicatorNullClass))
#define IS_DUMMY_INDICATOR_NULL(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), DUMMY_INDICATOR_NULL_TYPE))
#define IS_DUMMY_INDICATOR_NULL_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), DUMMY_INDICATOR_NULL_TYPE))
#define DUMMY_INDICATOR_NULL_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), DUMMY_INDICATOR_NULL_TYPE, DummyIndicatorNullClass))

Typedefs

typedef struct _DummyIndicatorNull
typedef struct _DummyIndicatorNullClass

Functions

GType dummy_indicator_null_get_type (void)
INDICATOR_SET_VERSION GtkLabel * get_label (IndicatorObject *io)
GtkImage * get_icon (IndicatorObject *io)
GtkMenu * get_menu (IndicatorObject *io)
const gchar * get_accessible_desc (IndicatorObject *io)
static void dummy_indicator_null_class_init (DummyIndicatorNullClass *klass)
static void dummy_indicator_null_init (DummyIndicatorNull *self)
static void dummy_indicator_null_dispose (GObject *object)
static void dummy_indicator_null_finalize (GObject *object)
 G_DEFINE_TYPE (DummyIndicatorNull, dummy_indicator_null, INDICATOR_OBJECT_TYPE)

Class Documentation

struct _DummyIndicatorNullClass

Definition at line 40 of file dummy-indicator-null.c.

Class Members
IndicatorObjectClass parent_class
struct _DummyIndicatorNull

Definition at line 44 of file dummy-indicator-null.c.

Class Members
IndicatorObject parent

Define Documentation

#define DUMMY_INDICATOR_NULL (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), DUMMY_INDICATOR_NULL_TYPE, DummyIndicatorNull))

Definition at line 31 of file dummy-indicator-null.c.

#define DUMMY_INDICATOR_NULL_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), DUMMY_INDICATOR_NULL_TYPE, DummyIndicatorNullClass))

Definition at line 32 of file dummy-indicator-null.c.

#define DUMMY_INDICATOR_NULL_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), DUMMY_INDICATOR_NULL_TYPE, DummyIndicatorNullClass))

Definition at line 35 of file dummy-indicator-null.c.

Definition at line 30 of file dummy-indicator-null.c.

#define IS_DUMMY_INDICATOR_NULL (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), DUMMY_INDICATOR_NULL_TYPE))

Definition at line 33 of file dummy-indicator-null.c.

#define IS_DUMMY_INDICATOR_NULL_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), DUMMY_INDICATOR_NULL_TYPE))

Definition at line 34 of file dummy-indicator-null.c.


Typedef Documentation

typedef struct _DummyIndicatorNull

Definition at line 37 of file dummy-indicator-null.c.

typedef struct _DummyIndicatorNullClass

Definition at line 38 of file dummy-indicator-null.c.


Function Documentation

static void dummy_indicator_null_class_init ( DummyIndicatorNullClass *  klass) [static]

Definition at line 85 of file dummy-indicator-null.c.

{
       GObjectClass *object_class = G_OBJECT_CLASS (klass);

       object_class->dispose = dummy_indicator_null_dispose;
       object_class->finalize = dummy_indicator_null_finalize;

       IndicatorObjectClass * io_class = INDICATOR_OBJECT_CLASS(klass);

       io_class->get_label = get_label;
       io_class->get_image = get_icon;
       io_class->get_menu = get_menu;
       io_class->get_accessible_desc = get_accessible_desc;

       return;
}

Here is the call graph for this function:

static void dummy_indicator_null_dispose ( GObject *  object) [static]

Definition at line 110 of file dummy-indicator-null.c.

{

       G_OBJECT_CLASS (dummy_indicator_null_parent_class)->dispose (object);
       return;
}

Here is the caller graph for this function:

static void dummy_indicator_null_finalize ( GObject *  object) [static]

Definition at line 118 of file dummy-indicator-null.c.

{

       G_OBJECT_CLASS (dummy_indicator_null_parent_class)->finalize (object);
       return;
}

Here is the caller graph for this function:

static void dummy_indicator_null_init ( DummyIndicatorNull *  self) [static]

Definition at line 103 of file dummy-indicator-null.c.

{

       return;
}
G_DEFINE_TYPE ( DummyIndicatorNull  ,
dummy_indicator_null  ,
INDICATOR_OBJECT_TYPE   
)
const gchar* get_accessible_desc ( IndicatorObject *  io)

Definition at line 72 of file dummy-indicator-null.c.

{
       return NULL;
}
GtkImage* get_icon ( IndicatorObject *  io)

Definition at line 61 of file dummy-indicator-null.c.

{
       return NULL;
}
INDICATOR_SET_VERSION GtkLabel* get_label ( IndicatorObject *  io)

Definition at line 55 of file dummy-indicator-null.c.

{
       return NULL;
}
GtkMenu* get_menu ( IndicatorObject *  io)

Definition at line 67 of file dummy-indicator-null.c.

{
       return NULL;
}