Files
pspsdk/src/utility/psputility.h
Carsten Teibes 7c6e46b487 Remove outdated svn ids, change url, fix permissions
Convert to unix line endings
2020-05-08 00:50:41 +02:00

58 lines
1.8 KiB
C

/*
* PSP Software Development Kit - https://github.com/pspdev
* -----------------------------------------------------------------------
* Licensed under the BSD license, see LICENSE in PSPSDK root for details.
*
* psputility.h - Master include for the pspUtility library
*
* Copyright (c) 2005 John Kelley <ps2dev@kelley.ca>
*
*/
#ifndef __PSPUTILITY_H__
#define __PSPUTILITY_H__
typedef struct
{
unsigned int size; /** Size of the structure */
int language; /** Language */
int buttonSwap; /** Set to 1 for X/O button swap */
int graphicsThread; /** Graphics thread priority */
int accessThread; /** Access/fileio thread priority (SceJobThread) */
int fontThread; /** Font thread priority (ScePafThread) */
int soundThread; /** Sound thread priority */
int result; /** Result */
int reserved[4]; /** Set to 0 */
} pspUtilityDialogCommon;
#include <psputility_msgdialog.h>
#include <psputility_netconf.h>
#include <psputility_netparam.h>
#include <psputility_savedata.h>
#include <psputility_gamesharing.h>
#include <psputility_htmlviewer.h>
#include <psputility_sysparam.h>
#include <psputility_osk.h>
#include <psputility_netmodules.h>
#include <psputility_avmodules.h>
#include <psputility_usbmodules.h>
#include <psputility_modules.h>
#define PSP_UTILITY_ACCEPT_CIRCLE 0
#define PSP_UTILITY_ACCEPT_CROSS 1
/**
* Return-values for the various sceUtility***GetStatus() functions
**/
typedef enum
{
PSP_UTILITY_DIALOG_NONE = 0, /**< No dialog is currently active */
PSP_UTILITY_DIALOG_INIT, /**< The dialog is currently being initialized */
PSP_UTILITY_DIALOG_VISIBLE, /**< The dialog is visible and ready for use */
PSP_UTILITY_DIALOG_QUIT, /**< The dialog has been canceled and should be shut down */
PSP_UTILITY_DIALOG_FINISHED /**< The dialog has successfully shut down */
} pspUtilityDialogState;
#endif