Ensure <simgear_config.h> is always included.

This is going to become important soon - prep for enabling SIMGEAR_SHARED on Windows.
This commit is contained in:
James Turner 2017-03-28 09:36:53 +01:00
parent 1446f559cc
commit c170f576b6
81 changed files with 121 additions and 10 deletions

View File

@ -15,6 +15,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// //
#include <simgear_config.h>
#include "BVHMaterial.hxx" #include "BVHMaterial.hxx"
namespace simgear { namespace simgear {

View File

@ -15,6 +15,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// //
#include <simgear_config.h>
#include "BVHPageNode.hxx" #include "BVHPageNode.hxx"
#include "BVHPager.hxx" #include "BVHPager.hxx"

View File

@ -15,6 +15,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// //
#include <simgear_config.h>
#include "BVHPageRequest.hxx" #include "BVHPageRequest.hxx"
namespace simgear { namespace simgear {

View File

@ -15,6 +15,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// //
#include <simgear_config.h>
#include "BVHPager.hxx" #include "BVHPager.hxx"
#include <list> #include <list>

View File

@ -15,6 +15,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// //
#include <simgear_config.h>
#include "BVHStaticNode.hxx" #include "BVHStaticNode.hxx"
namespace simgear { namespace simgear {

View File

@ -15,6 +15,7 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// //
#include <simgear_config.h>
#include <iostream> #include <iostream>
#include <simgear/structure/SGSharedPtr.hxx> #include <simgear/structure/SGSharedPtr.hxx>

View File

@ -16,6 +16,8 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "Canvas.hxx" #include "Canvas.hxx"
#include "CanvasEventManager.hxx" #include "CanvasEventManager.hxx"
#include "CanvasEventVisitor.hxx" #include "CanvasEventVisitor.hxx"

View File

@ -16,6 +16,8 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "CanvasEvent.hxx" #include "CanvasEvent.hxx"
namespace simgear namespace simgear

View File

@ -16,6 +16,7 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "CanvasEventManager.hxx" #include "CanvasEventManager.hxx"
#include <simgear/canvas/events/MouseEvent.hxx> #include <simgear/canvas/events/MouseEvent.hxx>
#include <simgear/canvas/elements/CanvasElement.hxx> #include <simgear/canvas/elements/CanvasElement.hxx>

View File

@ -17,6 +17,7 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "CanvasEvent.hxx" #include "CanvasEvent.hxx"
#include "CanvasEventVisitor.hxx" #include "CanvasEventVisitor.hxx"
#include <simgear/canvas/elements/CanvasElement.hxx> #include <simgear/canvas/elements/CanvasElement.hxx>

View File

@ -16,6 +16,7 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "CanvasMgr.hxx" #include "CanvasMgr.hxx"
#include "Canvas.hxx" #include "Canvas.hxx"
#include "CanvasEventManager.hxx" #include "CanvasEventManager.hxx"

View File

@ -19,6 +19,8 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "Canvas.hxx" #include "Canvas.hxx"
#include "CanvasObjectPlacement.hxx" #include "CanvasObjectPlacement.hxx"
#include <simgear/canvas/events/MouseEvent.hxx> #include <simgear/canvas/events/MouseEvent.hxx>

View File

@ -16,6 +16,7 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "CanvasPlacement.hxx" #include "CanvasPlacement.hxx"
#include <simgear/props/props.hxx> #include <simgear/props/props.hxx>

View File

@ -16,6 +16,7 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "CanvasMgr.hxx" #include "CanvasMgr.hxx"
#include "CanvasSystemAdapter.hxx" #include "CanvasSystemAdapter.hxx"
#include "CanvasWindow.hxx" #include "CanvasWindow.hxx"

View File

@ -16,6 +16,8 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "CanvasElement.hxx" #include "CanvasElement.hxx"
#include <simgear/canvas/Canvas.hxx> #include <simgear/canvas/Canvas.hxx>
#include <simgear/canvas/CanvasEventVisitor.hxx> #include <simgear/canvas/CanvasEventVisitor.hxx>

View File

@ -16,6 +16,8 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "CanvasGroup.hxx" #include "CanvasGroup.hxx"
#include "CanvasImage.hxx" #include "CanvasImage.hxx"
#include "CanvasMap.hxx" #include "CanvasMap.hxx"

View File

@ -16,6 +16,8 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "CanvasImage.hxx" #include "CanvasImage.hxx"
#include <simgear/canvas/Canvas.hxx> #include <simgear/canvas/Canvas.hxx>

View File

@ -17,6 +17,7 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "CanvasMap.hxx" #include "CanvasMap.hxx"
#include "map/geo_node_pair.hxx" #include "map/geo_node_pair.hxx"
#include "map/projection.hxx" #include "map/projection.hxx"

View File

@ -16,6 +16,8 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "CanvasPath.hxx" #include "CanvasPath.hxx"
#include <simgear/scene/util/parse_color.hxx> #include <simgear/scene/util/parse_color.hxx>
#include <simgear/misc/strutils.hxx> #include <simgear/misc/strutils.hxx>

View File

@ -16,6 +16,7 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "CanvasText.hxx" #include "CanvasText.hxx"
#include <simgear/canvas/Canvas.hxx> #include <simgear/canvas/Canvas.hxx>
#include <simgear/canvas/CanvasSystemAdapter.hxx> #include <simgear/canvas/CanvasSystemAdapter.hxx>

View File

@ -16,6 +16,7 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "CustomEvent.hxx" #include "CustomEvent.hxx"
namespace simgear namespace simgear

View File

@ -16,6 +16,8 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "DeviceEvent.hxx" #include "DeviceEvent.hxx"
#include <osgGA/GUIEventAdapter> #include <osgGA/GUIEventAdapter>

View File

@ -16,6 +16,8 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "KeyboardEvent.hxx" #include "KeyboardEvent.hxx"
#include "utf8.h" #include "utf8.h"

View File

@ -16,6 +16,8 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "MouseEvent.hxx" #include "MouseEvent.hxx"
#include <osgGA/GUIEventAdapter> #include <osgGA/GUIEventAdapter>

View File

@ -16,6 +16,8 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "KeyboardEvent.hxx" #include "KeyboardEvent.hxx"
#include <osgViewer/Viewer> #include <osgViewer/Viewer>

View File

@ -16,6 +16,8 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "BoxLayout.hxx" #include "BoxLayout.hxx"
#include "SpacerItem.hxx" #include "SpacerItem.hxx"
#include <simgear/canvas/Canvas.hxx> #include <simgear/canvas/Canvas.hxx>

View File

@ -16,6 +16,7 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "Layout.hxx" #include "Layout.hxx"
#include <simgear/debug/logstream.hxx> #include <simgear/debug/logstream.hxx>

View File

@ -16,6 +16,7 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "LayoutItem.hxx" #include "LayoutItem.hxx"
#include <simgear/canvas/Canvas.hxx> #include <simgear/canvas/Canvas.hxx>

View File

@ -16,6 +16,8 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "NasalWidget.hxx" #include "NasalWidget.hxx"
#include <simgear/canvas/Canvas.hxx> #include <simgear/canvas/Canvas.hxx>

View File

@ -16,6 +16,7 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "SpacerItem.hxx" #include "SpacerItem.hxx"
namespace simgear namespace simgear

View File

@ -19,6 +19,7 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// //
#include <simgear_config.h>
#include <simgear/debug/BufferedLogCallback.hxx> #include <simgear/debug/BufferedLogCallback.hxx>
#include <boost/foreach.hpp> #include <boost/foreach.hpp>

View File

@ -22,6 +22,7 @@
* $Id$ * $Id$
**************************************************************************/ **************************************************************************/
#include <simgear_config.h>
#include <simgear/debug/logstream.hxx> #include <simgear/debug/logstream.hxx>
#include <math.h> #include <math.h>

View File

@ -22,7 +22,7 @@
* $Id$ * $Id$
**************************************************************************/ **************************************************************************/
#include <simgear_config.h>
#include <string.h> #include <string.h>
#include <simgear/debug/logstream.hxx> #include <simgear/debug/logstream.hxx>

View File

@ -22,6 +22,7 @@
* $Id$ * $Id$
**************************************************************************/ **************************************************************************/
#include <simgear_config.h>
#include <cmath> #include <cmath>
#include <simgear/debug/logstream.hxx> #include <simgear/debug/logstream.hxx>

View File

@ -21,6 +21,7 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// //
#include <simgear_config.h>
#include "DNSClient.hxx" #include "DNSClient.hxx"
#include <udns.h> #include <udns.h>
#include <time.h> #include <time.h>

View File

@ -21,6 +21,7 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// //
#include <simgear_config.h>
#include "HTTPClient.hxx" #include "HTTPClient.hxx"
#include "HTTPFileRequest.hxx" #include "HTTPFileRequest.hxx"

View File

@ -16,6 +16,8 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "HTTPFileRequest.hxx" #include "HTTPFileRequest.hxx"
#include <simgear/debug/logstream.hxx> #include <simgear/debug/logstream.hxx>
#include <simgear/misc/sg_path.hxx> #include <simgear/misc/sg_path.hxx>

View File

@ -16,6 +16,7 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "HTTPMemoryRequest.hxx" #include "HTTPMemoryRequest.hxx"
namespace simgear namespace simgear

View File

@ -16,10 +16,10 @@
// along with this program; if not, write to the Free Software // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include "HTTPRepository.hxx"
#include <simgear_config.h> #include <simgear_config.h>
#include "HTTPRepository.hxx"
#include <iostream> #include <iostream>
#include <cassert> #include <cassert>
#include <algorithm> #include <algorithm>

View File

@ -15,6 +15,7 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "HTTPRequest.hxx" #include "HTTPRequest.hxx"
#include <simgear/compiler.h> #include <simgear/compiler.h>

View File

@ -1,3 +1,4 @@
#include <simgear_config.h>
#include <cstdio> #include <cstdio>
#include <cstring> #include <cstring>

View File

@ -1,3 +1,4 @@
#include <simgear_config.h>
#include <cstdio> #include <cstdio>
#include <cstring> #include <cstring>

View File

@ -20,6 +20,7 @@
// //
// $Id$ // $Id$
#include <simgear_config.h>
#include <simgear/compiler.h> #include <simgear/compiler.h>
#include <string> #include <string>
#include <ctype.h> // isspace() #include <ctype.h> // isspace()

View File

@ -1,3 +1,5 @@
#include <simgear_config.h>
#include <iostream> #include <iostream>
#include <cstdlib> // for EXIT_SUCCESS #include <cstdlib> // for EXIT_SUCCESS

View File

@ -20,6 +20,8 @@
// with this program; if not, write to the Free Software Foundation, Inc., // with this program; if not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#include <simgear_config.h>
#include <string> #include <string>
#include <ios> // std::streamsize #include <ios> // std::streamsize
#include <istream> #include <istream>

View File

@ -18,6 +18,8 @@
// with this program; if not, write to the Free Software Foundation, Inc., // with this program; if not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#include <simgear_config.h>
#include <ios> // std::basic_ios, std::streamsize... #include <ios> // std::basic_ios, std::streamsize...
#include <iostream> // std::ios_base, std::cerr, etc. #include <iostream> // std::ios_base, std::cerr, etc.
#include <sstream> #include <sstream>

View File

@ -20,7 +20,7 @@
// //
// $Id$ // $Id$
#include <simgear_config.h>
#include <simgear/compiler.h> #include <simgear/compiler.h>
#include <string> #include <string>

View File

@ -23,6 +23,7 @@
$Id: netBuffer.cxx 1568 2002-09-02 06:05:49Z sjbaker $ $Id: netBuffer.cxx 1568 2002-09-02 06:05:49Z sjbaker $
*/ */
#include <simgear_config.h>
#include "sg_netBuffer.hxx" #include "sg_netBuffer.hxx"
#include <cassert> #include <cassert>

View File

@ -29,6 +29,7 @@
// to write or something...] // to write or something...]
// Maybe assert valid handle, too? // Maybe assert valid handle, too?
#include <simgear_config.h>
#include "sg_netChannel.hxx" #include "sg_netChannel.hxx"
#include <memory> #include <memory>

View File

@ -20,6 +20,7 @@
// //
// $Id$ // $Id$
#include <simgear_config.h>
#include <cstdlib> #include <cstdlib>
#include <cstring> #include <cstring>

View File

@ -2,6 +2,7 @@
// Test harness. // Test harness.
//////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////
#include <simgear_config.h>
#include <simgear/compiler.h> #include <simgear/compiler.h>
#include <iostream> #include <iostream>

View File

@ -15,6 +15,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// //
#include <simgear_config.h>
#include "untar.hxx" #include "untar.hxx"
#include <cstdlib> #include <cstdlib>

View File

@ -16,6 +16,8 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "SVGpreserveAspectRatio.hxx" #include "SVGpreserveAspectRatio.hxx"
#include <simgear/debug/logstream.hxx> #include <simgear/debug/logstream.hxx>

View File

@ -1,3 +1,4 @@
#include <simgear_config.h>
#include <simgear/compiler.h> #include <simgear/compiler.h>

View File

@ -1,3 +1,5 @@
#include <simgear_config.h>
#include <cstdlib> #include <cstdlib>
#include <simgear/misc/sg_path.hxx> #include <simgear/misc/sg_path.hxx>

View File

@ -20,6 +20,8 @@
// //
// $Id$ // $Id$
#include <simgear_config.h>
#include <ctype.h> #include <ctype.h>
#include <cstring> #include <cstring>
#include <sstream> #include <sstream>

View File

@ -15,6 +15,7 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// //
#include <simgear_config.h>
#include <simgear/package/Catalog.hxx> #include <simgear/package/Catalog.hxx>
#include <boost/foreach.hpp> #include <boost/foreach.hpp>

View File

@ -15,6 +15,7 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// //
#include <simgear_config.h>
#include <simgear/package/Install.hxx> #include <simgear/package/Install.hxx>
#include <boost/foreach.hpp> #include <boost/foreach.hpp>

View File

@ -15,6 +15,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// //
#include <simgear_config.h>
#include <simgear/package/Package.hxx> #include <simgear/package/Package.hxx>
#include <cassert> #include <cassert>

View File

@ -15,6 +15,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// //
#include <simgear_config.h>
#include <simgear/package/Root.hxx> #include <simgear/package/Root.hxx>
#include <boost/foreach.hpp> #include <boost/foreach.hpp>

View File

@ -15,6 +15,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// //
#include <simgear_config.h>
#include <simgear/io/HTTPClient.hxx> #include <simgear/io/HTTPClient.hxx>
#include <simgear/package/Catalog.hxx> #include <simgear/package/Catalog.hxx>
#include <simgear/package/Package.hxx> #include <simgear/package/Package.hxx>

View File

@ -16,6 +16,7 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "PropertyBasedElement.hxx" #include "PropertyBasedElement.hxx"
#include <boost/algorithm/string/predicate.hpp> #include <boost/algorithm/string/predicate.hpp>

View File

@ -16,6 +16,8 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "PropertyBasedMgr.hxx" #include "PropertyBasedMgr.hxx"
#include <boost/foreach.hpp> #include <boost/foreach.hpp>

View File

@ -16,6 +16,7 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "PropertyInterpolationMgr.hxx" #include "PropertyInterpolationMgr.hxx"
#include "PropertyInterpolator.hxx" #include "PropertyInterpolator.hxx"
#include "props.hxx" #include "props.hxx"

View File

@ -16,6 +16,8 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "PropertyInterpolator.hxx" #include "PropertyInterpolator.hxx"
#include "props.hxx" #include "props.hxx"

View File

@ -17,6 +17,7 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "parseBlendFunc.hxx" #include "parseBlendFunc.hxx"
#include "EffectBuilder.hxx" #include "EffectBuilder.hxx"
#include <simgear/scene/util/StateAttributeFactory.hxx> #include <simgear/scene/util/StateAttributeFactory.hxx>

View File

@ -1,3 +1,4 @@
#include <simgear_config.h>
#include <simgear/compiler.h> #include <simgear/compiler.h>
#include <simgear/misc/test_macros.hxx> #include <simgear/misc/test_macros.hxx>

View File

@ -19,6 +19,7 @@
* *
*/ */
#include <simgear_config.h>
#include <simgear/scene/model/SGPickAnimation.hxx> #include <simgear/scene/model/SGPickAnimation.hxx>

View File

@ -1,3 +1,4 @@
#include <simgear_config.h>
#include "animation.hxx" #include "animation.hxx"
#include <cstring> #include <cstring>

View File

@ -21,6 +21,7 @@
// //
// $Id$ // $Id$
#include <simgear_config.h>
#include <simgear/compiler.h> #include <simgear/compiler.h>
#include <simgear/constants.h> #include <simgear/constants.h>
#include <simgear/debug/logstream.hxx> #include <simgear/debug/logstream.hxx>

View File

@ -16,6 +16,7 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include <simgear_config.h>
#include "ColorInterpolator.hxx" #include "ColorInterpolator.hxx"
#include "parse_color.hxx" #include "parse_color.hxx"

View File

@ -18,6 +18,7 @@
* MA 02110-1301, USA. * MA 02110-1301, USA.
* *
*/ */
#include <simgear_config.h>
#include "StateAttributeFactory.hxx" #include "StateAttributeFactory.hxx"
#include <osg/AlphaFunc> #include <osg/AlphaFunc>

View File

@ -1,3 +1,4 @@
#include <simgear_config.h>
#include <simgear/compiler.h> #include <simgear/compiler.h>
#include "parse_color.hxx" #include "parse_color.hxx"

View File

@ -20,6 +20,7 @@
// //
// $Id$ // $Id$
#include <simgear_config.h>
#include <simgear/compiler.h> #include <simgear/compiler.h>

View File

@ -1,5 +1,8 @@
#include <simgear_config.h>
#include <stdio.h> #include <stdio.h>
#include <cstdlib> // EXIT_FAILURE #include <cstdlib> // EXIT_FAILURE
#include <cassert>
#ifdef _WIN32 #ifdef _WIN32
#include <windows.h> #include <windows.h>
@ -26,6 +29,7 @@
#include <simgear/sound/readwav.hxx> #include <simgear/sound/readwav.hxx>
#include <simgear/debug/logstream.hxx> #include <simgear/debug/logstream.hxx>
#include <simgear/misc/sg_path.hxx> #include <simgear/misc/sg_path.hxx>
#include <simgear/structure/exception.hxx>
static void print_openal_error( ALuint error ) { static void print_openal_error( ALuint error ) {
if ( error == AL_INVALID_NAME ) { if ( error == AL_INVALID_NAME ) {
@ -51,7 +55,7 @@ ALuint createBufferFromFile(const SGPath& path)
unsigned int block_align; unsigned int block_align;
ALsizei size; ALsizei size;
ALfloat sampleFrequency; ALfloat sampleFrequency;
ALvoid* data = loadWAVFromFile(path, format, size, sampleFrequency, block_align); ALvoid* data = simgear::loadWAVFromFile(path, format, size, sampleFrequency, block_align);
assert(data); assert(data);
alGenBuffers(1, &buffer); alGenBuffers(1, &buffer);

View File

@ -18,6 +18,8 @@
// adapted from the freealut sources, especially alutBufferData.c, alutLoader.c // adapted from the freealut sources, especially alutBufferData.c, alutLoader.c
// and alutCodec.c (freealut is also LGPL licensed) // and alutCodec.c (freealut is also LGPL licensed)
#include <simgear_config.h>
#include "readwav.hxx" #include "readwav.hxx"
#include <cassert> #include <cassert>

View File

@ -1,3 +1,5 @@
#include <simgear_config.h>
#include <stdio.h> #include <stdio.h>
#ifdef _WIN32 #ifdef _WIN32
#include <windows.h> #include <windows.h>

View File

@ -1,3 +1,5 @@
#include <simgear_config.h>
#include <stdio.h> #include <stdio.h>
#ifdef _WIN32 #ifdef _WIN32
#include <windows.h> #include <windows.h>

View File

@ -16,9 +16,7 @@ License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
#ifdef HAVE_CONFIG_H
#include <simgear_config.h> #include <simgear_config.h>
#endif
#include <iostream> #include <iostream>
#include <fstream> #include <fstream>

View File

@ -16,6 +16,7 @@ License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
#include <simgear_config.h>
#include <math.h> #include <math.h>
#ifndef HUGE_VAL #ifndef HUGE_VAL

View File

@ -4,7 +4,7 @@
// //
// $Id$ // $Id$
#include <simgear_config.h>
#include "exception.hxx" #include "exception.hxx"
#include <stdio.h> #include <stdio.h>