More stackup changes
[geda-pcb/pcjc2/v2.git] / src / remove.h
blobb072cff959b794e041ea1777ad303db271654f97
1 /*!
2 * \file src/remove.h
4 * \brief Prototypes for remove routines.
6 * <hr>
8 * <h1><b>Copyright.</b></h1>\n
10 * PCB, interactive printed circuit board design.
12 * Copyright (C) 1994,1995,1996 Thomas Nau
14 * This program is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation; either version 2 of the License, or
17 * (at your option) any later version.
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, write to the Free Software
26 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
28 * Contact addresses for paper mail and Email:
30 * Thomas Nau, Schlehenweg 15, 88471 Baustetten, Germany
32 * Thomas.Nau@rz.uni-ulm.de
36 #ifndef PCB_REMOVE_H
37 #define PCB_REMOVE_H
39 #include "global.h"
41 /* ---------------------------------------------------------------------------
42 * some constants
44 #define REMOVE_TYPES \
45 (VIA_TYPE | LINEPOINT_TYPE | LINE_TYPE | TEXT_TYPE | ELEMENT_TYPE | \
46 POLYGONPOINT_TYPE | POLYGON_TYPE | RATLINE_TYPE | ARC_TYPE)
48 void *RemoveLine (LayerType *, LineType *);
49 void *RemoveArc (LayerType *, ArcType *);
50 void *RemovePolygon (LayerType *, PolygonType *);
51 void *RemoveText (LayerType *, TextType *);
52 void *RemoveElement (ElementType *);
53 void ClearRemoveList (void);
54 void RemovePCB (PCBType *);
55 bool RemoveSelected (void);
56 bool DeleteRats (bool);
57 void *RemoveObject (int, void *, void *, void *);
58 void *DestroyObject (DataType *, int, void *, void *, void *);
59 void RemoveDegradedVias (void);
61 #endif