~ubuntu-branches/ubuntu/precise/libzeitgeist/precise-proposed

« back to all changes in this revision

Viewing changes to src/eggzeitgeistdatasource.h

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-08-02 18:22:32 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100802182232-47ohrpyfxep802pr
Tags: 0.2.3-0ubuntu1
* New upstream release.
  - New API to talk to the Data Source Registry extension of Zeitgeist
    (Michal Hruby)
  - A new "connected" property on ZeitgeistLog telling you whether or
    not the Zeitgeist daemon is running (Michal Hruby)
  - Fix a crasher when finalizing a ZeitgeistLog with active monitors
    installed (Michal Hruby)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
/* File: eggzeitgeistdatasource.h
 
3
 *
 
4
 * Generated by eggdbus-binding-tool 0.6. Do not edit.
 
5
 */
 
6
 
 
7
#ifndef __EGG_ZEITGEIST_DATA_SOURCE_H
 
8
#define __EGG_ZEITGEIST_DATA_SOURCE_H
 
9
 
 
10
#include <glib-object.h>
 
11
#include <gio/gio.h>
 
12
#include "eggzeitgeistbindingstypes.h"
 
13
 
 
14
G_BEGIN_DECLS
 
15
 
 
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))
 
22
 
 
23
#if 0
 
24
typedef struct _EggZeitgeistDataSource EggZeitgeistDataSource;
 
25
#endif
 
26
typedef struct _EggZeitgeistDataSourceClass EggZeitgeistDataSourceClass;
 
27
 
 
28
struct _EggZeitgeistDataSource
 
29
{
 
30
  EggDBusStructure parent_instance;
 
31
};
 
32
 
 
33
struct _EggZeitgeistDataSourceClass
 
34
{
 
35
  EggDBusStructureClass parent_class;
 
36
};
 
37
 
 
38
GType egg_zeitgeist_data_source_get_type (void) G_GNUC_CONST;
 
39
 
 
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);
 
41
 
 
42
const gchar * egg_zeitgeist_data_source_get_unique_id (EggZeitgeistDataSource *instance);
 
43
 
 
44
const gchar * egg_zeitgeist_data_source_get_name (EggZeitgeistDataSource *instance);
 
45
 
 
46
const gchar * egg_zeitgeist_data_source_get_description (EggZeitgeistDataSource *instance);
 
47
 
 
48
EggDBusArraySeq * egg_zeitgeist_data_source_get_event_templates (EggZeitgeistDataSource *instance);
 
49
 
 
50
gboolean  egg_zeitgeist_data_source_get_running (EggZeitgeistDataSource *instance);
 
51
 
 
52
gint64  egg_zeitgeist_data_source_get_last_seen (EggZeitgeistDataSource *instance);
 
53
 
 
54
gboolean  egg_zeitgeist_data_source_get_enabled (EggZeitgeistDataSource *instance);
 
55
 
 
56
 
 
57
void egg_zeitgeist_data_source_set_unique_id (EggZeitgeistDataSource *instance, const gchar *value);
 
58
 
 
59
void egg_zeitgeist_data_source_set_name (EggZeitgeistDataSource *instance, const gchar *value);
 
60
 
 
61
void egg_zeitgeist_data_source_set_description (EggZeitgeistDataSource *instance, const gchar *value);
 
62
 
 
63
void egg_zeitgeist_data_source_set_event_templates (EggZeitgeistDataSource *instance, EggDBusArraySeq *value);
 
64
 
 
65
void egg_zeitgeist_data_source_set_running (EggZeitgeistDataSource *instance, gboolean value);
 
66
 
 
67
void egg_zeitgeist_data_source_set_last_seen (EggZeitgeistDataSource *instance, gint64 value);
 
68
 
 
69
void egg_zeitgeist_data_source_set_enabled (EggZeitgeistDataSource *instance, gboolean value);
 
70
 
 
71
 
 
72
G_END_DECLS
 
73
 
 
74
#endif /* __EGG_ZEITGEIST_DATA_SOURCE_H */