]> git.mxchange.org Git - flightgear.git/blob - src/Main/viewer.cxx
33a2868232f77056b3f4ac354199c34a9d03410d
[flightgear.git] / src / Main / viewer.cxx
1 // viewer.cxx -- class for managing a viewer in the flightgear world.
2 //
3 // Written by Curtis Olson, started August 1997.
4 //                          overhaul started October 2000.
5 //
6 // Copyright (C) 1997 - 2000  Curtis L. Olson  - curt@flightgear.org
7 //
8 // This program is free software; you can redistribute it and/or
9 // modify it under the terms of the GNU General Public License as
10 // published by the Free Software Foundation; either version 2 of the
11 // License, or (at your 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
19 // along with this program; if not, write to the Free Software
20 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 //
22 // $Id$
23
24
25 #include <simgear/compiler.h>
26
27 #ifdef HAVE_CONFIG_H
28 #  include <config.h>
29 #endif
30
31 #include <simgear/debug/logstream.hxx>
32
33 #include "viewer.hxx"
34
35
36 // Constructor
37 FGViewer::FGViewer( void )
38 {
39 }
40
41
42 // Initialize a view structure
43 void FGViewer::init( void ) {
44     FG_LOG( FG_VIEW, FG_ALERT, "Shouldn't ever see this" );
45     exit(-1);
46 }
47
48
49 // Update the view parameters
50 void FGViewer::update() {
51     FG_LOG( FG_VIEW, FG_ALERT, "Shouldn't ever see this" );
52     exit(-1);
53 }
54
55
56 // Destructor
57 FGViewer::~FGViewer( void ) {
58 }