1 /*---------------------------------------------------------------------------*
2   Project:  NW4R - Library - build - demos - etc - rso_simple
3   File:     moduleA.h
4 
5   Copyright 2006-2008 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  *---------------------------------------------------------------------------*/
14 
15 #ifndef MODULE_A_
16 #define MODULE_A_
17 
18 #define HOMEBUTTON_NOERROR 0
19 #define HOMEBUTTON_ICON 1
20 #define HOMEBUTTON_ALIVE 2
21 #define HOMEBUTTON_END 3
22 
23 
24 int HomebuttonMain(void);
25 void InitHomebutton();
26 void EndHomebutton();
27 void getCursorPos( int no, Vec2 *result );
28 void setCursorPos( int no, Vec2 result );
29 void setAllocator(MEMAllocator* allocator);
30 void setSoundCallback(HBMSoundCallback callback);
31 void setWideMode( int mode );
32 
33 #endif
34