2006-12-05 David Lodge <dave@cirt.net>
[dia.git] / objects / Jackson / jackson.c
blob33614c2fa900d887c8950ea05b17ab5cecad6f64
1 /* Dia -- an diagram creation/manipulation program
2 * Copyright (C) 1998 Alexander Larsson
4 * Jackson diagram - adapted by Christophe Ponsard
5 * This class captures all kind of domains (given, designed, machine)
6 * both for generic problems and for problem frames (ie. with domain kinds)
8 * based on SADT diagrams copyright (C) 2000, 2001 Cyrille Chepelov
10 * Forked from Flowchart toolbox -- objects for drawing flowcharts.
11 * Copyright (C) 1999 James Henstridge.
13 * This program is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation; either version 2 of the License, or
16 * (at your option) any later version.
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
23 * You should have received a copy of the GNU General Public License
24 * along with this program; if not, write to the Free Software
25 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
28 #ifdef HAVE_CONFIG_H
29 #include <config.h>
30 #endif
32 #include "object.h"
34 #include "intl.h"
35 #include "jackson.h"
36 #include "plug-ins.h"
38 extern DiaObjectType jackson_domain_type;
39 extern DiaObjectType jackson_requirement_type;
40 extern DiaObjectType jackson_phenomenon_type;
42 DIA_PLUGIN_CHECK_INIT
44 PluginInitResult
45 dia_plugin_init(PluginInfo *info)
47 if (!dia_plugin_info_init(info, "Jackson", _("Jackson diagram"),
48 NULL, NULL))
49 return DIA_PLUGIN_INIT_ERROR;
51 object_register_type(&jackson_domain_type);
52 object_register_type(&jackson_requirement_type);
53 object_register_type(&jackson_phenomenon_type);
55 return DIA_PLUGIN_INIT_OK;