2
/* File: eggzeitgeistdatasource.h
4
* Generated by eggdbus-binding-tool 0.6. Do not edit.
7
#ifndef __EGG_ZEITGEIST_DATA_SOURCE_H
8
#define __EGG_ZEITGEIST_DATA_SOURCE_H
10
#include <glib-object.h>
12
#include "eggzeitgeistbindingstypes.h"
16
#define EGG_ZEITGEIST_TYPE_DATA_SOURCE (egg_zeitgeist_data_source_get_type())
17
#define EGG_ZEITGEIST_DATA_SOURCE(o) (EGG_DBUS_STRUCTURE_TYPE_CHECK_INSTANCE_CAST ((o), "(sssa(asaasay)bxb)", EggZeitgeistDataSource))
18
#define EGG_ZEITGEIST_DATA_SOURCE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), EGG_ZEITGEIST_TYPE_DATA_SOURCE, EggZeitgeistDataSourceClass))
19
#define EGG_ZEITGEIST_DATA_SOURCE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EGG_ZEITGEIST_TYPE_DATA_SOURCE, EggZeitgeistDataSourceClass))
20
#define EGG_ZEITGEIST_IS_DATA_SOURCE(o) (EGG_DBUS_STRUCTURE_TYPE_CHECK_INSTANCE_TYPE ((o), "(sssa(asaasay)bxb)", EggZeitgeistDataSource))
21
#define EGG_ZEITGEIST_IS_DATA_SOURCE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EGG_ZEITGEIST_TYPE_DATA_SOURCE))
24
typedef struct _EggZeitgeistDataSource EggZeitgeistDataSource;
26
typedef struct _EggZeitgeistDataSourceClass EggZeitgeistDataSourceClass;
28
struct _EggZeitgeistDataSource
30
EggDBusStructure parent_instance;
33
struct _EggZeitgeistDataSourceClass
35
EggDBusStructureClass parent_class;
38
GType egg_zeitgeist_data_source_get_type (void) G_GNUC_CONST;
40
EggZeitgeistDataSource *egg_zeitgeist_data_source_new (const gchar *unique_id, const gchar *name, const gchar *description, EggDBusArraySeq *event_templates, gboolean running, gint64 last_seen, gboolean enabled);
42
const gchar * egg_zeitgeist_data_source_get_unique_id (EggZeitgeistDataSource *instance);
44
const gchar * egg_zeitgeist_data_source_get_name (EggZeitgeistDataSource *instance);
46
const gchar * egg_zeitgeist_data_source_get_description (EggZeitgeistDataSource *instance);
48
EggDBusArraySeq * egg_zeitgeist_data_source_get_event_templates (EggZeitgeistDataSource *instance);
50
gboolean egg_zeitgeist_data_source_get_running (EggZeitgeistDataSource *instance);
52
gint64 egg_zeitgeist_data_source_get_last_seen (EggZeitgeistDataSource *instance);
54
gboolean egg_zeitgeist_data_source_get_enabled (EggZeitgeistDataSource *instance);
57
void egg_zeitgeist_data_source_set_unique_id (EggZeitgeistDataSource *instance, const gchar *value);
59
void egg_zeitgeist_data_source_set_name (EggZeitgeistDataSource *instance, const gchar *value);
61
void egg_zeitgeist_data_source_set_description (EggZeitgeistDataSource *instance, const gchar *value);
63
void egg_zeitgeist_data_source_set_event_templates (EggZeitgeistDataSource *instance, EggDBusArraySeq *value);
65
void egg_zeitgeist_data_source_set_running (EggZeitgeistDataSource *instance, gboolean value);
67
void egg_zeitgeist_data_source_set_last_seen (EggZeitgeistDataSource *instance, gint64 value);
69
void egg_zeitgeist_data_source_set_enabled (EggZeitgeistDataSource *instance, gboolean value);
74
#endif /* __EGG_ZEITGEIST_DATA_SOURCE_H */