1 /*---------------------------------------------------------------------------*
2   Project:  Horizon
3   File:     gx.h
4 
5   Copyright (C)2009 Nintendo Co., Ltd.  All rights reserved.
6 
7   These coded instructions, statements, and computer programs contain
8   proprietary information of Nintendo of America Inc. and/or Nintendo
9   Company Ltd., and are protected by Federal copyright law.  They may
10   not be disclosed to third parties or copied or duplicated in any form,
11   in whole or in part, without the prior written consent of Nintendo.
12 
13   $Rev: 17382 $
14  *---------------------------------------------------------------------------*/
15 
16 /*! @file
17     @brief    グラフィックスAPIの宣言
18 */
19 
20 #ifndef NN_GX_H_
21 #define NN_GX_H_
22 
23 /*! @namespace  nn::gx
24     @brief      グラフィックスAPIの名前空間
25 */
26 
27 /*! @namespace  nn::gx::CTR
28     @brief      CTRのグラフィックスAPI(一部の C++ インターフェース)の名前空間です。
29                 <BR>("::CTR" の部分は省略して記述可能です。)
30 */
31 
32 #if defined(NN_PLATFORM_CTR)
33     #include <gles2/gl2.h>
34     #include <gles2/gl2ext.h>
35     #include <nn/gx/CTR/gx_CTR.h>
36     #include <nn/gx/CTR/gx_Vram.h>
37     #include <nn/gx/CTR/gx_Lcd.h>
38     #include <nn/gx/CTR/gx_Misc.h>
39 
40 #ifdef  __cplusplus
41     namespace nn {
42         namespace gx {
43             using namespace nn::gx::CTR;
44         }
45     }
46 #endif // __cplusplus
47 
48 #else
49     #error no platform selected
50 #endif
51 
52 
53 #endif  // ifndef NN_GX_H_
54