From f0adbd757cc4135a902d1b5b8378029b8f953383 Mon Sep 17 00:00:00 2001 From: Tomasz Wlostowski Date: Mon, 15 Aug 2016 17:16:51 +0200 Subject: [PATCH] router: added missing files --- pcbnew/router/pns_debug_decorator.h | 46 +++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 pcbnew/router/pns_debug_decorator.h diff --git a/pcbnew/router/pns_debug_decorator.h b/pcbnew/router/pns_debug_decorator.h new file mode 100644 index 0000000000..4cec4c55b2 --- /dev/null +++ b/pcbnew/router/pns_debug_decorator.h @@ -0,0 +1,46 @@ +/* + * KiRouter - a push-and-(sometimes-)shove PCB router + * + * Copyright (C) 2013-2016 CERN + * Author: Christian Gagneraud + * + * 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 3 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, see . + */ + +#ifndef __PNS_DEBUG_DECORATOR_H +#define __PNS_DEBUG_DECORATOR_H + +#include +#include +#include +#include + +class PNS_DEBUG_DECORATOR +{ +public: + PNS_DEBUG_DECORATOR() + {} + + virtual ~PNS_DEBUG_DECORATOR() + {} + + virtual void AddPoint( VECTOR2I aP, int aColor ) {}; + virtual void AddLine( const SHAPE_LINE_CHAIN& aLine, int aType = 0, int aWidth = 0 ) {}; + virtual void AddSegment( SEG aS, int aColor ) {}; + virtual void AddBox( BOX2I aB, int aColor ) {}; + virtual void AddDirections( VECTOR2D aP, int aMask, int aColor ) {}; + virtual void Clear() {}; +}; + +#endif