aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-11-27 02:29:21 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-11-27 02:32:00 +0800
commit04aac07030e328e481df060d4b045b7e6d6117c1 (patch)
tree5242da6218b214ad397aea6cd176192c7073bbd0 /shell/e-shell.h
parentc0657eb024e529d720ace2871d9de407df1cdf7f (diff)
downloadgsoc2013-evolution-04aac07030e328e481df060d4b045b7e6d6117c1.tar.gz
gsoc2013-evolution-04aac07030e328e481df060d4b045b7e6d6117c1.tar.zst
gsoc2013-evolution-04aac07030e328e481df060d4b045b7e6d6117c1.zip
Make EShell more subclassable.
Add method pointers to EShellClass for all the EShell signals. Also rework my previous --quit corner case workaround: we'll want to do the full shutdown procedure after all, since the backends have already spun up.
Diffstat (limited to 'shell/e-shell.h')
-rw-r--r--shell/e-shell.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/shell/e-shell.h b/shell/e-shell.h
index 94821bb2b8..7d1904a828 100644
--- a/shell/e-shell.h
+++ b/shell/e-shell.h
@@ -30,6 +30,9 @@
#include <unique/unique.h>
#include <gconf/gconf-client.h>
+
+#include <e-util/e-activity.h>
+
#include <shell/e-shell-common.h>
#include <shell/e-shell-backend.h>
#include <shell/e-shell-settings.h>
@@ -72,6 +75,21 @@ struct _EShell {
struct _EShellClass {
UniqueAppClass parent_class;
+
+ gboolean (*handle_uri) (EShell *shell,
+ const gchar *uri);
+ void (*prepare_for_offline) (EShell *shell,
+ EActivity *activity);
+ void (*prepare_for_online) (EShell *shell,
+ EActivity *activity);
+ void (*prepare_for_quit) (EShell *shell,
+ EActivity *activity);
+ void (*quit_requested) (EShell *shell);
+ void (*send_receive) (EShell *shell,
+ GtkWindow *parent);
+ void (*window_created) (EShell *shell,
+ GtkWindow *window);
+ void (*window_destroyed) (EShell *shell);
};
GType e_shell_get_type (void);