aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.h
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell.h')
-rw-r--r--shell/e-shell.h31
1 files changed, 24 insertions, 7 deletions
diff --git a/shell/e-shell.h b/shell/e-shell.h
index dd408f40dd..c8d59d31b7 100644
--- a/shell/e-shell.h
+++ b/shell/e-shell.h
@@ -2,6 +2,7 @@
#define E_SHELL_H
#include <bonobo/gnome-object.h>
+#include "evolution.h"
#define E_SHELL_GOAD_ID "GOADID:GNOME:Evolution:Shell:1.0"
#define E_SHELL_FACTORY_GOAD_ID "GOADID:GNOME:Evolution:ShellFactory:1.0"
@@ -12,18 +13,34 @@
#define E_IS_SHELL(o) (GTK_CHECK_TYPE ((o), E_SHELL_TYPE))
#define E_IS_SHELL_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_SHELL_TYPE))
-typedef struct {
+struct _EShell {
GnomeObject base_object;
- char *base_uri;
-} EShell;
+ /* A list of EShellViews */
+ GSList *views;
+};
typedef struct {
- GnomeObjectClass *parent_class;
+ GnomeObjectClass parent_class;
} EShellClass;
-EShell *e_shell_new (const char *base_uri);
-void e_shell_set_base_uri (EShell *eshell, const char *base_uri);
-const char *e_shell_get_base_uri (EShell *eshell);
+EShell *e_shell_new (void);
+void e_shell_register_view (EShell *eshell, EShellView *eshell_view);
+void e_shell_unregister_view (EShell *eshell, EShellView *eshell_view);
+
+/*
+ * New
+ */
+void e_shell_new_appointment (EShell *eshell);
+void e_shell_new_meeting_request (EShell *eshell);
+void e_shell_new_task (EShell *eshell);
+void e_shell_new_task_request (EShell *eshell);
+void e_shell_new_contact (EShell *eshell);
+void e_shell_new_mail_message (EShell *eshell);
+void e_shell_new_distribution_list (EShell *eshell);
+void e_shell_new_journal_entry (EShell *eshell);
+void e_shell_new_note (EShell *eshell);
+
+void e_shell_quit (EShell *eshell);
#endif /* EVOLUTION_SHELL_H */