1 /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 * sheet-object-component.h
5 * Copyright (C) 2009 Jean Bréfort <jean.brefort@normalesup.org>
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2 of the
10 * License, or (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, see <https://www.gnu.org/licenses/>
21 #ifndef _GNM_SHEET_OBJECT_COMPONENT_H_
22 #define _GNM_SHEET_OBJECT_COMPONENT_H_
24 #include "sheet-object.h"
25 #include "gnumeric-fwd.h"
26 #include <goffice/component/go-component.h>
30 #define GNM_SO_COMPONENT_TYPE (sheet_object_component_get_type ())
31 #define GNM_IS_SO_COMPONENT(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), GNM_SO_COMPONENT_TYPE))
32 #define GNM_SO_COMPONENT(o) (G_TYPE_CHECK_INSTANCE_CAST((o), GNM_SO_COMPONENT_TYPE, SheetObjectComponent))
34 GType
sheet_object_component_get_type (void);
35 SheetObject
*sheet_object_component_new (GOComponent
*component
);
37 GOComponent
*sheet_object_component_get_component (SheetObject
*soc
);
38 void sheet_object_component_set_component (SheetObject
*soc
, GOComponent
*component
);
42 #endif /* _GNM_SHEET_OBJECT_COMPONENT_H_ */