1 | /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ |
---|
2 | /* e-shell-user-creatable-items-handler.h |
---|
3 | * |
---|
4 | * Copyright (C) 2001 Ximian, Inc. |
---|
5 | * |
---|
6 | * This program is free software; you can redistribute it and/or |
---|
7 | * modify it under the terms of version 2 of the GNU General Public |
---|
8 | * License as published by the Free Software Foundation. |
---|
9 | * |
---|
10 | * This program is distributed in the hope that it will be useful, |
---|
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
13 | * General Public License for more details. |
---|
14 | * |
---|
15 | * You should have received a copy of the GNU General Public |
---|
16 | * License along with this program; if not, write to the |
---|
17 | * Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
---|
18 | * Boston, MA 02111-1307, USA. |
---|
19 | * |
---|
20 | * Author: Ettore Perazzoli <ettore@ximian.com> |
---|
21 | */ |
---|
22 | |
---|
23 | #ifndef _E_SHELL_USER_CREATABLE_ITEMS_HANDLER_H_ |
---|
24 | #define _E_SHELL_USER_CREATABLE_ITEMS_HANDLER_H_ |
---|
25 | |
---|
26 | #include "evolution-shell-component-client.h" |
---|
27 | |
---|
28 | #include <gtk/gtkobject.h> |
---|
29 | #include <bonobo/bonobo-ui-component.h> |
---|
30 | |
---|
31 | #ifdef __cplusplus |
---|
32 | extern "C" { |
---|
33 | #pragma } |
---|
34 | #endif /* __cplusplus */ |
---|
35 | |
---|
36 | #define E_TYPE_SHELL_USER_CREATABLE_ITEMS_HANDLER (e_shell_user_creatable_items_handler_get_type ()) |
---|
37 | #define E_SHELL_USER_CREATABLE_ITEMS_HANDLER(obj) (GTK_CHECK_CAST ((obj), E_TYPE_SHELL_USER_CREATABLE_ITEMS_HANDLER, EShellUserCreatableItemsHandler)) |
---|
38 | #define E_SHELL_USER_CREATABLE_ITEMS_HANDLER_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_SHELL_USER_CREATABLE_ITEMS_HANDLER, EShellUserCreatableItemsHandlerClass)) |
---|
39 | #define E_IS_SHELL_USER_CREATABLE_ITEMS_HANDLER(obj) (GTK_CHECK_TYPE ((obj), E_TYPE_SHELL_USER_CREATABLE_ITEMS_HANDLER)) |
---|
40 | #define E_IS_SHELL_USER_CREATABLE_ITEMS_HANDLER_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), E_TYPE_SHELL_USER_CREATABLE_ITEMS_HANDLER)) |
---|
41 | |
---|
42 | |
---|
43 | typedef struct _EShellUserCreatableItemsHandler EShellUserCreatableItemsHandler; |
---|
44 | typedef struct _EShellUserCreatableItemsHandlerPrivate EShellUserCreatableItemsHandlerPrivate; |
---|
45 | typedef struct _EShellUserCreatableItemsHandlerClass EShellUserCreatableItemsHandlerClass; |
---|
46 | |
---|
47 | #include "e-shell-view.h" |
---|
48 | |
---|
49 | struct _EShellUserCreatableItemsHandler { |
---|
50 | GtkObject parent; |
---|
51 | |
---|
52 | EShellUserCreatableItemsHandlerPrivate *priv; |
---|
53 | }; |
---|
54 | |
---|
55 | struct _EShellUserCreatableItemsHandlerClass { |
---|
56 | GtkObjectClass parent_class; |
---|
57 | }; |
---|
58 | |
---|
59 | |
---|
60 | GtkType e_shell_user_creatable_items_handler_get_type (void); |
---|
61 | EShellUserCreatableItemsHandler *e_shell_user_creatable_items_handler_new (void); |
---|
62 | |
---|
63 | void e_shell_user_creatable_items_handler_add_component (EShellUserCreatableItemsHandler *handler, |
---|
64 | const char *id, |
---|
65 | EvolutionShellComponentClient *shell_component_client); |
---|
66 | |
---|
67 | void e_shell_user_creatable_items_handler_attach_menus (EShellUserCreatableItemsHandler *handler, |
---|
68 | EShellView *shell_view); |
---|
69 | |
---|
70 | #ifdef __cplusplus |
---|
71 | } |
---|
72 | #endif /* __cplusplus */ |
---|
73 | |
---|
74 | #endif /* _E_SHELL_USER_CREATABLE_ITEMS_HANDLER_H_ */ |
---|