1 /* Dia -- an diagram creation/manipulation program -*- c -*- 2 * Copyright (C) 1998 Alexander Larsson 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 2 of the License, or 7 * (at your option) any later version. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write to the Free Software 16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 */ 18 19 /** @file diatypes.h -- All externally visible structures should be defined here */ 20 21 #ifndef TYPES_H 22 #define TYPES_H 23 24 /* THIS HEADER MUST NOT INCLUDE ANY OTHER HEADER! */ 25 /*#include "units.h" */ 26 27 /* In diagramdata.h: */ 28 typedef struct _DiagramData DiagramData; 29 typedef struct _Layer Layer; 30 typedef struct _NewDiagramData NewDiagramData; 31 32 /* In arrows.h: */ 33 typedef struct _Arrow Arrow; 34 35 /* In bezier_conn.h: */ 36 typedef struct _BezierConn BezierConn; 37 38 /* In beziershape.h: */ 39 typedef struct _BezierShape BezierShape; 40 41 /* In boundingbox.h: */ 42 typedef struct _PolyBBExtras PolyBBExtras; 43 typedef struct _LineBBExtras LineBBExtras; 44 typedef struct _ElementBBExtras ElementBBExtras; 45 46 /* In color.h: */ 47 typedef struct _Color Color; 48 49 /* In connection.h: */ 50 typedef struct _Connection Connection; 51 52 /* In connectionpoint.h: */ 53 typedef struct _ConnectionPoint ConnectionPoint; 54 55 /* In create.h: */ 56 typedef struct _MultipointCreateData MultipointCreateData; 57 typedef struct _BezierCreateData BezierCreateData; 58 59 /* In dia_image.h: */ 60 typedef struct _DiaImage DiaImage; 61 62 /* In diagdkrenderer.h: */ 63 typedef struct _DiaGdkRenderer DiaGdkRenderer; 64 typedef struct _DiaGdkRendererClass DiaGdkRendererClass; 65 typedef struct _DDisp DDisp; 66 67 /* In dialibartrenderer.h: */ 68 typedef struct _DiaLibartRenderer DiaLibartRenderer; 69 typedef struct _DiaLibartRendererClass DiaLibartRendererClass; 70 71 /* In diamenu.h: */ 72 typedef struct _DiaMenuItem DiaMenuItem; 73 typedef struct _DiaMenu DiaMenu; 74 75 /* In diarenderer.h: */ 76 typedef struct _BezierApprox BezierApprox; 77 typedef struct _DiaRenderer DiaRenderer; 78 typedef struct _DiaRendererClass DiaRendererClass; 79 typedef struct _DiaInteractiveRendererInterface DiaInteractiveRendererInterface; 80 81 /* In diacellrendererproperty.h: */ 82 typedef struct _DiaCellRendererProperty DiaCellRendererProperty; 83 84 /* In diasvgrenderer.h: */ 85 typedef struct _DiaSvgRenderer DiaSvgRenderer; 86 typedef struct _DiaSvgRendererClass DiaSvgRendererClass; 87 88 /* In diatransform.h: */ 89 typedef struct _DiaTransform DiaTransform; 90 91 /* In element.h: */ 92 typedef struct _Element Element; 93 94 /* In filter.h: */ 95 typedef struct _DiaExportFilter DiaExportFilter; 96 typedef struct _DiaImportFilter DiaImportFilter; 97 typedef struct _DiaCallbackFilter DiaCallbackFilter; 98 99 /* In focus.h: */ 100 typedef struct _Focus Focus; 101 102 /* In font.h: */ 103 typedef struct _DiaFont DiaFont; 104 typedef struct _DiaFontClass DiaFontClass; 105 106 /* In geometry.h: */ 107 typedef struct _Point Point; 108 typedef struct _Rectangle Rectangle; 109 typedef struct _IntRectangle IntRectangle; 110 typedef struct _BezPoint BezPoint; 111 112 /* In group.h: */ 113 typedef struct _Group Group; 114 115 /* In handle.h: */ 116 typedef struct _Handle Handle; 117 118 /* In neworth_conn.h: */ 119 typedef struct _NewOrthConn NewOrthConn; 120 121 /* In objchange.h: */ 122 typedef struct _ObjectState ObjectState; 123 typedef struct _ObjectChange ObjectChange; 124 125 /* In object.h: */ 126 typedef struct _DiaObject DiaObject; 127 typedef struct _ObjectOps ObjectOps; 128 typedef struct _DiaObjectType DiaObjectType; 129 typedef struct _ObjectTypeOps ObjectTypeOps; 130 131 /* In orth_conn.h: */ 132 typedef struct _OrthConn OrthConn; 133 134 /* In paper.h: */ 135 typedef struct _PaperInfo PaperInfo; 136 137 /* In plug-ins.h: */ 138 typedef struct _PluginInfo PluginInfo; 139 140 /* In poly_conn.h: */ 141 typedef struct _PolyConn PolyConn; 142 143 /* In polyshape.h: */ 144 typedef struct _PolyShape PolyShape; 145 146 /* In properties.h: */ 147 typedef struct _PropDescription PropDescription; 148 typedef struct _Property Property; 149 typedef struct _PropEventData PropEventData; 150 typedef struct _PropDialog PropDialog; 151 typedef struct _PropEventHandlerChain PropEventHandlerChain; 152 typedef struct _PropWidgetAssoc PropWidgetAssoc; 153 typedef struct _PropertyOps PropertyOps; 154 typedef struct _PropNumData PropNumData; 155 typedef struct _PropEnumData PropEnumData; 156 typedef struct _PropDescCommonArrayExtra PropDescCommonArrayExtra; 157 typedef struct _PropDescDArrayExtra PropDescDArrayExtra; 158 typedef struct _PropDescSArrayExtra PropDescSArrayExtra; 159 typedef struct _PropOffset PropOffset; 160 161 /* In ps-utf8.h: */ 162 typedef struct _PSFontDescriptor PSFontDescriptor; 163 typedef struct _PSEncodingPage PSEncodingPage; 164 typedef struct _PSUnicoder PSUnicoder; 165 typedef struct _PSUnicoderCallbacks PSUnicoderCallbacks; 166 167 /* In sheet.h: */ 168 typedef struct _Sheet Sheet; 169 typedef struct _SheetObject SheetObject; 170 171 /* In text.h: */ 172 typedef struct _Text Text; 173 174 /* In textline.h: */ 175 typedef struct _TextLine TextLine; 176 177 /* In textattr.h: */ 178 typedef struct _TextAttributes TextAttributes; 179 180 /* In widgets.h: */ 181 typedef struct _DiaSizeSelector DiaSizeSelector; 182 typedef struct _DiaSizeSelectorClass DiaSizeSelectorClass; 183 typedef struct _DiaFontSelector DiaFontSelector; 184 typedef struct _DiaFontSelectorClass DiaFontSelectorClass; 185 typedef struct _DiaAlignmentSelector DiaAlignmentSelector; 186 typedef struct _DiaAlignmentSelectorClass DiaAlignmentSelectorClass; 187 typedef struct _DiaLineStyleSelector DiaLineStyleSelector; 188 typedef struct _DiaLineStyleSelectorClass DiaLineStyleSelectorClass; 189 typedef struct _DiaColorSelector DiaColorSelector; 190 typedef struct _DiaColorSelectorClass DiaColorSelectorClass; 191 typedef struct _DiaArrowSelector DiaArrowSelector; 192 typedef struct _DiaArrowSelectorClass DiaArrowSelectorClass; 193 typedef struct _DiaFileSelector DiaFileSelector; 194 typedef struct _DiaFileSelectorClass DiaFileSelectorClass; 195 196 #endif 197