Update Spanish translation
[gnumeric.git] / src / sheet-object-component.h
blob59b388931e14764d72b3604b2e7cf29c90451f02
1 /*
2 * sheet-object-component.h
4 * Copyright (C) 2009 Jean Bréfort <jean.brefort@normalesup.org>
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 of the
9 * License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, see <https://www.gnu.org/licenses/>
20 #ifndef _GNM_SHEET_OBJECT_COMPONENT_H_
21 #define _GNM_SHEET_OBJECT_COMPONENT_H_
23 #include <sheet-object.h>
24 #include <gnumeric-fwd.h>
25 #include <goffice/component/go-component.h>
27 G_BEGIN_DECLS
29 #define GNM_SO_COMPONENT_TYPE (sheet_object_component_get_type ())
30 #define GNM_IS_SO_COMPONENT(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), GNM_SO_COMPONENT_TYPE))
31 #define GNM_SO_COMPONENT(o) (G_TYPE_CHECK_INSTANCE_CAST((o), GNM_SO_COMPONENT_TYPE, SheetObjectComponent))
33 GType sheet_object_component_get_type (void);
34 SheetObject *sheet_object_component_new (GOComponent *component);
36 GOComponent *sheet_object_component_get_component (SheetObject *soc);
37 void sheet_object_component_set_component (SheetObject *soc, GOComponent *component);
39 G_END_DECLS
41 #endif /* _GNM_SHEET_OBJECT_COMPONENT_H_ */