]> git.mxchange.org Git - flightgear.git/blob - src/ATC/atc_mgr.cxx
ba71c608735255e169b91bee156eeb82283f28f9
[flightgear.git] / src / ATC / atc_mgr.cxx
1 /******************************************************************************
2  * atc_mgr.cxx
3  * Written by Durk Talsma, started August 1, 2010.
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License as
7  * published by the Free Software Foundation; either version 2 of the
8  * License, or (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful, but
11  * WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
18  *
19  *
20  **************************************************************************/
21
22
23 #ifdef HAVE_CONFIG_H
24 #  include "config.h"
25 #endif
26
27 #include <iostream>
28
29 #include <simgear/math/SGMath.hxx>
30 #include "atc_mgr.hxx"
31
32
33 FGATCManager::FGATCManager() {
34
35 }
36
37 FGATCManager::~FGATCManager() {
38
39 }
40
41 void FGATCManager::init() {
42     SGSubsystem::init();
43     currentATCDialog = new FGATCDialogNew;
44     currentATCDialog->init();
45
46     //dialog.init();
47 }
48
49 void FGATCManager::addController(FGATCController *controller) {
50     activeStations.push_back(controller);
51 }
52
53 void FGATCManager::update ( double time ) {
54     //cerr << "ATC update code is running at time: " << time << endl;
55 }