Updated Spanish translation
[evolution.git] / e-util / gal-a11y-e-cell-registry.h
blobe644ec77a2bbc8f8d32f93dd911190e51d6a3914
1 /*
2 * This program is free software; you can redistribute it and/or modify it
3 * under the terms of the GNU Lesser General Public License as published by
4 * the Free Software Foundation.
6 * This program is distributed in the hope that it will be useful, but
7 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
8 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
9 * for more details.
11 * You should have received a copy of the GNU Lesser General Public License
12 * along with this program; if not, see <http://www.gnu.org/licenses/>.
15 * Authors:
16 * Christopher James Lahey <clahey@ximian.com>
18 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
22 #if !defined (__E_UTIL_H_INSIDE__) && !defined (LIBEUTIL_COMPILATION)
23 #error "Only <e-util/e-util.h> should be included directly."
24 #endif
26 #ifndef __GAL_A11Y_E_CELL_REGISTRY_H__
27 #define __GAL_A11Y_E_CELL_REGISTRY_H__
29 #include <atk/atkobject.h>
31 #include <e-util/e-table-item.h>
32 #include <e-util/e-cell.h>
34 #define GAL_A11Y_TYPE_E_CELL_REGISTRY (gal_a11y_e_cell_registry_get_type ())
35 #define GAL_A11Y_E_CELL_REGISTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAL_A11Y_TYPE_E_CELL_REGISTRY, GalA11yECellRegistry))
36 #define GAL_A11Y_E_CELL_REGISTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GAL_A11Y_TYPE_E_CELL_REGISTRY, GalA11yECellRegistryClass))
37 #define GAL_A11Y_IS_E_CELL_REGISTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAL_A11Y_TYPE_E_CELL_REGISTRY))
38 #define GAL_A11Y_IS_E_CELL_REGISTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GAL_A11Y_TYPE_E_CELL_REGISTRY))
40 typedef struct _GalA11yECellRegistry GalA11yECellRegistry;
41 typedef struct _GalA11yECellRegistryClass GalA11yECellRegistryClass;
42 typedef struct _GalA11yECellRegistryPrivate GalA11yECellRegistryPrivate;
44 typedef AtkObject *(*GalA11yECellRegistryFunc) (ETableItem *item,
45 ECellView *cell_view,
46 AtkObject *parent,
47 gint model_col,
48 gint view_col,
49 gint row);
51 struct _GalA11yECellRegistry {
52 GObject object;
54 GalA11yECellRegistryPrivate *priv;
57 struct _GalA11yECellRegistryClass {
58 GObjectClass parent_class;
61 /* Standard Glib function */
62 GType gal_a11y_e_cell_registry_get_type (void);
63 AtkObject *gal_a11y_e_cell_registry_get_object (GalA11yECellRegistry *registry,
64 ETableItem *item,
65 ECellView *cell_view,
66 AtkObject *parent,
67 gint model_col,
68 gint view_col,
69 gint row);
70 void gal_a11y_e_cell_registry_add_cell_type (GalA11yECellRegistry *registry,
71 GType type,
72 GalA11yECellRegistryFunc func);
74 #endif /* __GAL_A11Y_E_CELL_REGISTRY_H__ */