Use application properties instead of ugly dual-use global variable
[gnumeric.git] / src / sheet-object-graph.h
blob15de8b671ea173c641693168b8467f0e0e48580c
1 /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 #ifndef _GNM_SHEET_OBJECT_GRAPH_H_
3 # define _GNM_SHEET_OBJECT_GRAPH_H_
5 #include "sheet-object.h"
6 #include "gnumeric-fwd.h"
7 #include <goffice/goffice.h>
9 G_BEGIN_DECLS
11 #define GNM_SO_GRAPH_TYPE (sheet_object_graph_get_type ())
12 #define GNM_IS_SO_GRAPH(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), GNM_SO_GRAPH_TYPE))
13 #define GNM_SO_GRAPH(o) (G_TYPE_CHECK_INSTANCE_CAST((o), GNM_SO_GRAPH_TYPE, SheetObjectGraph))
15 GType sheet_object_graph_get_type (void);
16 SheetObject *sheet_object_graph_new (GogGraph *graph);
17 GogGraph *sheet_object_graph_get_gog (SheetObject *sog);
18 void sheet_object_graph_set_gog (SheetObject *sog, GogGraph *graph);
20 void sheet_object_graph_guru (WBCGtk *wbcg, GogGraph *graph,
21 GClosure *closure);
23 void sheet_object_graph_ensure_size (SheetObject *sog);
24 G_END_DECLS
26 #endif /* _GNM_SHEET_OBJECT_GRAPH_H_ */