AXEvent
ax_event.h
Go to the documentation of this file.
1 
19 #ifndef _AX_EVENT_H_
20 #define _AX_EVENT_H_
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
30 typedef struct _AXEvent AXEvent;
31 
32 #pragma GCC diagnostic push
33 #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
34 
35 #ifndef ALLOW_DEPRECATED_LIBAXEVENT_FUNCS
36 __attribute__((deprecated))
37 #endif
38 
49 AXEvent*
50 ax_event_new(AXEventKeyValueSet *key_value_set,
51  GTimeVal *time_stamp);
52 
53 #pragma GCC diagnostic pop
54 
64 AXEvent*
65 ax_event_new2(AXEventKeyValueSet *key_value_set,
66  GDateTime *time_stamp);
67 
73 void
74 ax_event_free(AXEvent *event);
75 
83 const AXEventKeyValueSet*
85 
86 #pragma GCC diagnostic push
87 #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
88 
89 #ifndef ALLOW_DEPRECATED_LIBAXEVENT_FUNCS
90 __attribute__((deprecated))
91 #endif
92 
100 const GTimeVal*
101 ax_event_get_time_stamp(AXEvent *event);
102 
103 #pragma GCC diagnostic pop
104 
111 GDateTime*
113 
114 #ifdef __cplusplus
115 }
116 #endif
117 
118 #endif /* _AX_EVENT_H_ */
AXEvent * ax_event_new2(AXEventKeyValueSet *key_value_set, GDateTime *time_stamp)
Creates a new AXEvent.
struct _AXEventKeyValueSet AXEventKeyValueSet
The AXEventKeyValueSet is an opaque data type required to create event declarations, event subscription and for receiving events.
Definition: ax_event_key_value_set.h:73
struct _AXEvent AXEvent
The AXEvent is an opaque data type required to send and receive events.
Definition: ax_event.h:30
const AXEventKeyValueSet * ax_event_get_key_value_set(AXEvent *event)
Get the AXEventKeyValueSet associated with the AXEvent.
void ax_event_free(AXEvent *event)
Free an AXEvent.
GDateTime * ax_event_get_time_stamp2(AXEvent *event)
Get the time stamp associated with the AXEvent.
__attribute__((deprecated)) AXEvent *ax_event_new(AXEventKeyValueSet *key_value_set
Creates a new AXEvent.