1 /*---------------------------------------------------------------------------* 2 Project: TwlSDK - WM - libraries 3 File: wm_common.h 4 5 Copyright 2007-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 $Date:: 2008-09-18#$ 14 $Rev: 8573 $ 15 $Author: okubata_ryoma $ 16 *---------------------------------------------------------------------------*/ 17 18 #ifndef LIBRARIES_WM_ARM9_WM_COMMON_H__ 19 #define LIBRARIES_WM_ARM9_WM_COMMON_H__ 20 21 #ifdef __cplusplus 22 extern "C" { 23 #endif 24 25 #ifdef SDK_TWL 26 #include "nwm_arm9_private.h" 27 #endif 28 #include "wm_arm9_private.h" 29 #include <nitro/os.h> 30 31 /*---------------------------------------------------------------------------* 32 Function definitions 33 *---------------------------------------------------------------------------*/ 34 // Prototype for a function that determines whether wireless functionality has been initialized 35 extern WMErrCode WM_CheckInitialized(); 36 #ifdef SDK_TWL 37 extern NWMRetCode NWM_CheckInitialized(); 38 #endif 39 /*===========================================================================*/ 40 41 #ifdef __cplusplus 42 } /* extern "C" */ 43 #endif 44 45 #endif /* LIBRARIES_WM_ARM9_WM_COMMON_H__ */ 46 47 /*---------------------------------------------------------------------------* 48 End of file 49 *---------------------------------------------------------------------------*/ 50