More stackup changes
[geda-pcb/pcjc2/v2.git] / src / select.h
blob5ec4a60435e3c788840a2fd1872c58d76fd01525
1 /*!
2 * \file src/select.h
4 * \brief Prototypes for select 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
35 #ifndef PCB_SELECT_H
36 #define PCB_SELECT_H
38 #include "global.h"
40 #define SELECT_TYPES \
41 (VIA_TYPE | LINE_TYPE | TEXT_TYPE | POLYGON_TYPE | ELEMENT_TYPE | \
42 PIN_TYPE | PAD_TYPE | ELEMENTNAME_TYPE | RATLINE_TYPE | ARC_TYPE)
44 bool SelectObject (void);
45 bool SelectBlock (BoxType *, bool);
46 bool SelectedOperation (ObjectFunctionType *, bool, int);
47 void *ObjectOperation (ObjectFunctionType *, int, void *, void *, void *);
48 bool SelectByFlag (int flag, bool select);
49 bool SelectBuriedVias (bool select);
51 #if defined(HAVE_REGCOMP) || defined(HAVE_RE_COMP)
52 bool SelectObjectByName (int, char *, bool);
53 #endif
55 #endif