GL Studio SCECpp Runtime Library
gls_gl.h
Go to the documentation of this file.
1 #ifndef _GLS_GL_H
2 #define _GLS_GL_H
3 
4 /*! \file gls_gl.h
5 \brief This header includes the API for the OpenGL provider used in
6  the GL Studio DO-178B Runtime Library.
7 
8 \par Copyright Information
9 Copyright (C) 1999-2012 The DiSTI Corporation<br>
10 Orlando, FL USA<br>
11 All rights reserved.<br>
12 
13  This file is copyrighted software and contains proprietary trade secrets of
14 DiSTI, and embodies substantial creative efforts as well as confidential
15 information, ideas, and expressions.
16 
17  Permission to use, and copy this software and its documentation for any
18 purpose is hereby granted per the Distribution Agreement and/or the Licensing
19 Agreement signed with DiSTI. This permission is granted provided that:
20  1. The above copyright notice appears in all copies.
21  2. That both the copyright notice and this permission notice appear in
22  the supporting documentation.
23  3. That the names DiSTI and GL Studio not be used in advertising or
24  publicity pertaining to distribution of the software without specific,
25  written prior permission of DiSTI.
26 
27  Permission to modify the software is granted, but not the right to
28 distribute the source code whether modified, or non-modified. Modifying the
29 software might invalidate the DO-178B certification package.
30 
31  Permission to distribute binaries produced by compiling source code, or
32 modified source code is granted, provided you:
33  1. Provide your name and address as the primary contact for the support
34  of your modified version.
35  2. Retain our contact information in regard to use of the base software.
36 
37  DiSTI does not provide warranty for this software or guarantee that it
38 satisfies any specification or requirement unless otherwise stated in a
39 specific contractual arrangement between the customer and DiSTI.
40 
41 */
42 
43 #include "gls_include.h"
44 
45 // GLS_WIN32_TEST is defined when building a WIN32 version of the 178B runtime
46 // for testing purposes (uses standard OpenGL)
47 #if defined( GLS_WIN32_TEST )
48  #include <windows.h>
49  #include "GL/gl.h"
50 #elif defined( GLS_LINUX_TEST ) || defined( GLS_GHS_INTEGRITY ) || defined( GLS_VXWORKS )
51  // GLS_LINUX_TEST is defined when building a LINUX version of the 178B runtime
52  // for testing purposes (uses standard OpenGL)
53  #include "GL/gl.h"
54 #else
55  #include "GL_Headers/alt_gl.h"
56 #endif
57 
58 #endif // _GLS_GL_H
This header defines any preprocessor defines needed to configure the GL Studio DO-178B Runtime Librar...