1 /*---------------------------------------------------------------------------*
2   Project:  TwlSDK - WXC - demos - wxc-dataShare
3   File:     gmain.h
4 
5   Copyright 2005-2009 Nintendo. 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   $Date:: 2007-11-15#$
14   $Rev: 2414 $
15   $Author: hatamoto_minoru $
16  *---------------------------------------------------------------------------*/
17 #ifndef MB_DEMO_GMAIN_H_
18 #define MB_DEMO_GMAIN_H_
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
24 #include <nitro.h>
25 
26 
27 typedef struct
28 {
29     u32 count;                         // Frame info
30     u16 key;                           // Key information
31     u16 padding;
32 }
33 GShareData;
34 
35 
36 //============================================================================
37 //  Function Declarations
38 //============================================================================
39 
40 void GInitDataShare(void);
41 BOOL GStepDataShare(s32 frame);
42 void GMain(void);
43 
44 
45 #ifdef __cplusplus
46 }/* extern "C" */
47 #endif
48 
49 #endif // MB_DEMO_GMAIN_H_
50