From 735e3b71d6d803f9ccb71bb45052868de00b1ffc Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Sat, 30 Mar 2013 19:41:08 -0400 Subject: [PATCH] Fix build errors in layer mask changes. --- include/layers_id_colors_and_visibility.h | 28 ++++++++++++++++++++- pcbnew/pcad2kicadpcb_plugin/pcb_callbacks.h | 2 +- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/include/layers_id_colors_and_visibility.h b/include/layers_id_colors_and_visibility.h index f2e4da7c56..c6e703fa8f 100644 --- a/include/layers_id_colors_and_visibility.h +++ b/include/layers_id_colors_and_visibility.h @@ -1,11 +1,37 @@ +/* + * This program source code file is part of KiCad, a free EDA CAD application. + * + * Copyright (C) 2010 Jean-Pierre Charras, jp.charras at wanadoo.fr + * Copyright (C) 2007 KiCad Developers, see change_log.txt for contributors. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, you may find one here: + * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html + * or you may search the http://www.gnu.org website for the version 2 license, + * or you may write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + */ + /** * @file layers_id_colors_and_visibility.h - * @brief Classes and definitions used in Pcbnew. + * @brief Board layer functions and definitions. */ #ifndef _LAYERS_ID_AND_VISIBILITY_H_ #define _LAYERS_ID_AND_VISIBILITY_H_ +#include // wxASSERT + /* Layer identification (layer number) */ #define UNDEFINED_LAYER -1 #define FIRST_COPPER_LAYER 0 diff --git a/pcbnew/pcad2kicadpcb_plugin/pcb_callbacks.h b/pcbnew/pcad2kicadpcb_plugin/pcb_callbacks.h index 9d49ea3a3c..05b4837ee5 100644 --- a/pcbnew/pcad2kicadpcb_plugin/pcb_callbacks.h +++ b/pcbnew/pcad2kicadpcb_plugin/pcb_callbacks.h @@ -31,7 +31,7 @@ #define PCB_CALLBACKS_H_ #include -#include "include/layers_id_colors_and_visibility.h" +#include enum LAYER_TYPE_T {