aboutsummaryrefslogtreecommitdiffstats
path: root/shell/es-event.h
diff options
context:
space:
mode:
Diffstat (limited to 'shell/es-event.h')
-rw-r--r--shell/es-event.h38
1 files changed, 1 insertions, 37 deletions
diff --git a/shell/es-event.h b/shell/es-event.h
index 31823d118f..eba3f3d6b6 100644
--- a/shell/es-event.h
+++ b/shell/es-event.h
@@ -33,32 +33,10 @@ typedef struct _ESEventClass ESEventClass;
/* Current target description */
enum _es_event_target_t {
- ES_EVENT_TARGET_STATE,
- ES_EVENT_TARGET_UPGRADE,
- ES_EVENT_TARGET_SHELL,
- ES_EVENT_TARGET_COMPONENT
+ ES_EVENT_TARGET_UPGRADE
};
-/* Flags that qualify TARGET_STATE */
-enum {
- ES_EVENT_STATE_ONLINE = 1<<0,
- ES_EVENT_STATE_OFFLINE = 1<<1
-};
-
-typedef struct _ESEventTargetState ESEventTargetState;
typedef struct _ESEventTargetUpgrade ESEventTargetUpgrade;
-typedef struct _ESEventTargetShell ESEventTargetShell;
-typedef struct _ESEventTargetComponent ESEventTargetComponent;
-
-struct _ESEventTargetShell {
- EEventTarget target;
-};
-
-struct _ESEventTargetState {
- EEventTarget target;
-
- gint state;
-};
struct _ESEventTargetUpgrade {
EEventTarget target;
@@ -68,12 +46,6 @@ struct _ESEventTargetUpgrade {
gint revision;
};
-struct _ESEventTargetComponent {
- EEventTarget target;
-
- const gchar *id;
-};
-
typedef struct _EEventItem ESEventItem;
/* The object */
@@ -89,19 +61,11 @@ struct _ESEventClass {
GType es_event_get_type (void);
ESEvent * es_event_peek (void);
-ESEventTargetShell *
- es_event_target_new (ESEvent *eme);
-ESEventTargetState *
- es_event_target_new_state (ESEvent *emp,
- gint state);
ESEventTargetUpgrade *
es_event_target_new_upgrade (ESEvent *event,
gint major,
gint minor,
gint revision);
-ESEventTargetComponent *
- es_event_target_new_component (ESEvent *event,
- const gchar *id);
/* ********************************************************************** */