From 25597a3be248ce035c6efaedfa02fc911e9962b6 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Tue, 3 Jul 2007 04:45:33 +0000 Subject: ** Added a hook event after the shell is started. svn path=/trunk/; revision=33742 --- shell/es-event.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'shell/es-event.h') diff --git a/shell/es-event.h b/shell/es-event.h index e857b97c1a..ef3cb2c618 100644 --- a/shell/es-event.h +++ b/shell/es-event.h @@ -26,6 +26,7 @@ #include #include "e-util/e-event.h" +#include "e-shell.h" #ifdef __cplusplus extern "C" { @@ -38,7 +39,8 @@ typedef struct _ESEventClass ESEventClass; /* Current target description */ enum _es_event_target_t { ES_EVENT_TARGET_STATE, - ES_EVENT_TARGET_UPGRADE + ES_EVENT_TARGET_UPGRADE, + ES_EVENT_TARGET_SHELL }; /* Flags that qualify TARGET_STATE */ @@ -49,6 +51,13 @@ enum { typedef struct _ESEventTargetState ESEventTargetState; typedef struct _ESEventTargetUpgrade ESEventTargetUpgrade; +typedef struct _ESEventTargetShell ESEventTargetShell; + +struct _ESEventTargetShell { + EEventTarget target; + + EShell *shell; +}; struct _ESEventTargetState { EEventTarget target; -- cgit