1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2 /* evolution-shell-component-utils.h
4 * Copyright (C) 2000, 2001 Ximian, Inc.
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.
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.
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., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
21 #ifndef __EVOLUTION_SHELL_COMPONENT_UTILS_H__
22 #define __EVOLUTION_SHELL_COMPONENT_UTILS_H__
24 #include <bonobo/bonobo-ui-component.h>
25 #include <gtk/gtkwindow.h>
30 #endif /* __cplusplus */
32 typedef struct _EPixmap
{
39 #define E_PIXMAP(path,name,size) { (path), (name), (size), NULL }
40 #define E_PIXMAP_END { NULL, NULL, 0, NULL }
42 /* Takes an array of pixmaps, terminated by E_PIXMAP_END, and loads into uic */
43 void e_pixmaps_update (BonoboUIComponent
*uic
, EPixmap
*pixcache
);
45 char *e_get_activation_failure_msg (CORBA_Environment
*ev
);
49 #endif /* __cplusplus */
51 #endif /* __EVOLUTION_SHELL_COMPONENT_UTILS_H__ */