/ebook/

Git repository'/>
aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.h
blob: 4eb5c2c462dea708b11621834f99a16bc7ea8d28 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
/* e-shell.h
 *
 * Copyright (C) 2000  Helix Code, Inc.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public
 * License along with this program; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 *
 * Author: Ettore Perazzoli
 */

#ifndef _E_SHELL_H_
#define _E_SHELL_H_

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <bonobo/bonobo-object.h>

#ifdef __cplusplus
extern "C" {
#pragma }
#endif /* __cplusplus */

typedef struct _EShell        EShell;
typedef struct _EShellPrivate EShellPrivate;
typedef struct _EShellClass   EShellClass;

#include "Evolution.h"
#include "e-shortcuts.h"
#include "e-shell-view.h"

#define E_TYPE_SHELL            (e_shell_get_type ())
#define E_SHELL(obj)            (GTK_CHECK_CAST ((obj), E_TYPE_SHELL, EShell))
#define E_SHELL_CLASS(klass)        (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_SHELL, EShellClass))
#define E_IS_SHELL(obj)         (GTK_CHECK_TYPE ((obj), E_TYPE_SHELL))
#define E_IS_SHELL_CLASS(klass)     (GTK_CHECK_CLASS_TYPE ((obj), E_TYPE_SHELL))



struct _EShell {
    BonoboObject parent;

    EShellPrivate *priv;
};

struct _EShellClass {
    BonoboObjectClass parent_class;

    void (* no_views_left) (EShell *shell);
};


GtkType              e_shell_get_type                  (void);
void                 e_shell_construct                 (EShell          *shell,
                            GNOME_Evolution_Shell  corba_object,
                            const char      *local_directory,
                            gboolean         show_splash);

EShell              *e_shell_new                       (const char      *local_directory,
                            gboolean         show_splash);
EShellView          *e_shell_new_view                  (EShell          *shell,
                            const char      *uri);

const char          *e_shell_get_local_directory       (EShell          *shell);
EShortcuts          *e_shell_get_shortcuts             (EShell          *shell);
EStorageSet         *e_shell_get_storage_set           (EShell          *shell);
EFolderTypeRegistry *e_shell_get_folder_type_registry  (EShell          *shell);

gboolean             e_shell_save_settings             (EShell          *shell);
gboolean             e_shell_restore_from_settings     (EShell          *shell);

void                 e_shell_quit                      (EShell          *shell);

void                 e_shell_component_maybe_crashed   (EShell          *shell,
                            const char      *uri,
                            const char      *type_name,
                            EShellView      *shell_view);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* _E_SHELL_H_ */
n class='column1'>| | | | | | | + + * Makefile.am: Added tools. + + * tools/: New directory for tools relating to evolution. + + * tools/killev: New script for killing all evolution-related + stuff. + + * tools/Makefile.am: New file. + + * tools/.cvsignore: New file. svn path=/trunk/; revision=2652 * Update for the camel changes.Dan Winship2000-04-261-1/+0 | | | | | | | | | | * tests: Update for the camel changes. * Makefile.am (SUBDIRS): Remove tests. They aren't terribly useful/interesting any more for the most part, and they frequently don't compile. svn path=/trunk/; revision=2636 * + * widgets/Makefile.am: Added e-paned directory.Matthew Loper2000-04-241-0/+1 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + + * default_user/Makefile.am: new file. + + * default_user/Main_Shortcuts.xml: New file; is used to fill the + shortcut bar's "main shortcuts" pane. + + * default_user/Other_Shortcuts.xml: New file, used to fill the + shortcut bar's "other shortcuts" pane. + + * default_user/Inbox.mbox: New file. This is the first message a + new user will see when they fire up Evolution. Needs work. + + * Makefile.am: added default_user directory. + * configure.in: same. + + * e-paned.c: New file. Makes a GtkPaned with more than two + children. + * e-paned.h: same. + + * Makefile.am: added e-paned.[ch]. + + * e-shell-view.h: Added hpaned and treeview widgets to + EShellView. Added e_shell_view_toggle_shortcut_bar() and + e_shell_view_toggle_treeview(). + + * e-shell-view.c (e_shell_view_setup_shortcut_display): Use EPaned + widget to house our shortcut bar. + (e_shell_view_toggle_shortcut_bar): New function; toggles whether + the shortcut bar is showing. + (e_shell_view_toggle_treeview): Same, for the treeview (NYI). + (e_shell_view_new): Put the notebook view in our EPaned widget. + + * e-shell-view-menu.c (esv_cmd_toggle_shortcut_bar): New function; + toggles whether the shortcut bar is viewed. + (esv_cmd_toggle_treeview): Same, but with the treeview. Added + menuitems in the "view" menu to allow access to the above. + svn path=/trunk/; revision=2575 * install new shortcut bar pixmaps.Dan Winship2000-03-311-0/+1 | | | | | | | | | | | | * configure.in: * Makefile.am: * art/Makefile.am: install new shortcut bar pixmaps. * widgets/shortcut-bar/e-shortcut-bar.c: Sort of use the new pixmaps. This code needs to be restructured, but Damon is rumored to already be doing it. svn path=/trunk/; revision=2261 * + * Makefile.am: add calendar compilation back in.Matthew Loper2000-03-301-3/+1 | | | | | | | | + + * calendar/Makefile.am: remove the gui directory, which doesn't + compile. svn path=/trunk/; revision=2247 * + * Makefile.am: added wombat.Matthew Loper2000-03-291-0/+1 | | | | svn path=/trunk/; revision=2242 * address book depends on libversitSeth Alves2000-03-271-1/+1 | | | | svn path=/trunk/; revision=2183 * build po last because it depends on some .c files thatSeth Alves2000-03-271-2/+3 | | | | | | are built from .y files. svn path=/trunk/; revision=2182 * Temporarily removed the calendar from the subdirs list. The compilationbertrand2000-03-211-2/+3 | | | | | | | | | 03-21-2000 bertrand <bg@aful.org> Temporarily removed the calendar from the subdirs list. The compilation errors confuse people. svn path=/trunk/; revision=2129 * build shell before mail since mail relies on the shell idl files beingDan Winship2000-03-141-2/+2 | | | | | | compiled svn path=/trunk/; revision=2116 * Added. moved from filter-sexp.[ch]NotZed2000-02-291-2/+2 | | | | | | | | | | | | | | 2000-02-28 NotZed <NotZed@HelixCode.com> * e-util/e-sexp.[ch]: Added. moved from filter-sexp.[ch] * e-util/Makefile.am (libeutil_a_SOURCES): Add e-sexp. (noinst_LTLIBRARIES): Changed to a libtool library. * Makefile.am (SUBDIRS): Build e-util before other stuff. (SUBDIRS): Build filter after camel. svn path=/trunk/; revision=1980 * Add filter to the list of directories to processMiguel de Icaza2000-02-221-0/+1 | | | | svn path=/trunk/; revision=1897 * Modification in the automake/libtool building process so thatBertrand Guiheneuf2000-02-181-1/+1 | | | | | | | | | | camel and tests at least compile. Current libtool doen't seem to support lib dependancy unless the lib is installed. Removed the dependancy on libex in mbox and added it to the other Makefile.am that link with libcamel. svn path=/trunk/; revision=1838 * build libicalSeth Alves2000-02-181-0/+1 | | | | svn path=/trunk/; revision=1832 * Add libunicode to CFLAGS/LIBS.NotZed2000-02-141-0/+1 | | | | | | | | | | | | | | | | 2000-02-14 NotZed <notzed@zedzone.helixcode.com> * configure.in (EXTRA_GNOME_CFLAGS): Add libunicode to CFLAGS/LIBS. 2000-02-13 NotZed <notzed@zedzone.helixcode.com> * configure.in: Added check for libunicode. * Makefile.am (SUBDIRS): Added libibex. * tests/test11.c (main): New test, tests search api. svn path=/trunk/; revision=1774 * Make Evolution compile with the latest Bonobo changes.Arturo Espinosa2000-01-261-0/+1 | | | | | | | | Make Evolution compile with the latest Bonobo changes. Miguel. svn path=/trunk/; revision=1636 * Libversit / VFS work - FedericoArturo Espinosa2000-01-211-1/+3 | | | | svn path=/trunk/; revision=1601 * More work on the code. Added more for the framework.Arturo Espinosa2000-01-191-9/+23 | | | | | | | | More work on the code. Added more for the framework. Miguel. svn path=/trunk/; revision=1593 * Finishing previous commit.Chris Lahey2000-01-171-1/+2 | | | | svn path=/trunk/; revision=1582 * Lots of reorganization to get the Evolution shell to begin its life. ItArturo Espinosa2000-01-061-0/+2 | | | | | | | | | Lots of reorganization to get the Evolution shell to begin its life. It also includes a new evolution widget from Damon. Miguel. svn path=/trunk/; revision=1536 * More work:Ettore Perazzoli1999-11-171-3/+6 | | | | | | | - Fixed some Camel API naming issues. - Moved the message composer stuff to the `composer' directory. svn path=/trunk/; revision=1395