00001 /* 00002 * PSP Software Development Kit - http://www.pspdev.org 00003 * ----------------------------------------------------------------------- 00004 * Licensed under the BSD license, see LICENSE in PSPSDK root for details. 00005 * 00006 * psputility_dialogs.h - Definitions and Functions for Dialogs 00007 * section of the pspUtility library 00008 * 00009 * Copyright (c) 2005 Marcus Comstedt <marcus@mc.pp.se> 00010 * 00011 * $Id: psputility_msgdialog.h 1095 2005-09-27 21:02:16Z jim $ 00012 */ 00013 #ifndef __PSPUTILITY_DIALOGS_H__ 00014 #define __PSPUTILITY_DIALOGS_H__ 00015 00016 #ifdef __cplusplus 00017 extern "C" { 00018 #endif 00019 00020 #include <psptypes.h> 00021 00024 typedef struct _SceUtilityMsgDialogParams { 00026 SceSize size; 00027 00029 int language; 00030 00032 int buttonSwap; 00033 00035 int unknown[4]; 00036 int returnValue; 00037 int unknown2[7]; 00039 char message[512]; 00040 00041 } SceUtilityMsgDialogParams; 00042 00043 00050 int sceUtilityMsgDialogInitStart(SceUtilityMsgDialogParams *params); 00051 00057 void sceUtilityMsgDialogShutdownStart(void); 00058 00066 int sceUtilityMsgDialogGetStatus(void); 00067 00073 void sceUtilityMsgDialogUpdate(int n); 00074 00075 #ifdef __cplusplus 00076 } 00077 #endif 00078 00079 #endif