2006-12-05 David Lodge <dave@cirt.net>
[dia.git] / objects / chronogram / chronogram.c
blob994048d5c15c64f87fc301fe97f6bcd04891bcc3
1 /* Dia -- an diagram creation/manipulation program
2 * Copyright (C) 1998 Alexander Larsson
3 *
4 * Chronogram objects support
5 * Copyright (C) 2000 Cyrille Chepelov
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (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, write to the Free Software
19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22 #ifdef HAVE_CONFIG_H
23 #include <config.h>
24 #endif
26 #include "object.h"
28 #include "intl.h"
29 #include "chronogram.h"
30 #include "plug-ins.h"
32 extern DiaObjectType chronoref_type;
33 extern DiaObjectType chronoline_type;
35 DIA_PLUGIN_CHECK_INIT
37 PluginInitResult
38 dia_plugin_init(PluginInfo *info)
40 if (!dia_plugin_info_init(info, "Chronogram",_("Chronogram diagram objects"),
41 NULL, NULL))
42 return DIA_PLUGIN_INIT_ERROR;
44 object_register_type(&chronoref_type);
45 object_register_type(&chronoline_type);
47 return DIA_PLUGIN_INIT_OK;