Updated Korean translation
[evolution.git] / shell / evolution-shell-component-utils.h
blobd0ddb60263e22626e8c2f6ade8f4036d27cdfce2
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>
27 #ifdef __cplusplus
28 extern "C" {
29 #pragma }
30 #endif /* __cplusplus */
32 typedef struct _EPixmap {
33 const char *path;
34 const char *name;
35 gint size;
36 char *pixbuf;
37 } 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);
47 #ifdef __cplusplus
49 #endif /* __cplusplus */
51 #endif /* __EVOLUTION_SHELL_COMPONENT_UTILS_H__ */