1 /*
2  * KiRouter - a push-and-(sometimes-)shove PCB router
3  *
4  * Copyright (C) 2013-2014 CERN
5  * Copyright (C) 2016-2021 KiCad Developers, see AUTHORS.txt for contributors.
6  * Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
7  *
8  * This program is free software: you can redistribute it and/or modify it
9  * under the terms of the GNU General Public License as published by the
10  * Free Software Foundation, either version 3 of the License, or (at your
11  * option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License along
19  * with this program.  If not, see <http://www.gnu.org/licenses/>.
20  */
21 
22 #include "pns_algo_base.h"
23 #include "pns_debug_decorator.h"
24 #include "pns_router.h"
25 
26 namespace PNS {
27 
Settings() const28 ROUTING_SETTINGS& ALGO_BASE::Settings() const
29 {
30     return m_router->Settings();
31 }
32 
33 
Logger()34 LOGGER* ALGO_BASE::Logger()
35 {
36     return nullptr;
37 }
38 
39 
VisibleViewArea() const40 const BOX2I& ALGO_BASE::VisibleViewArea() const
41 {
42     return m_router->VisibleViewArea();
43 }
44 
45 }
46