-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathSysMsgBox.h
More file actions
48 lines (36 loc) · 835 Bytes
/
SysMsgBox.h
File metadata and controls
48 lines (36 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#ifndef __SYSMSGBOXMANAGER_H__
#define __SYSMSGBOXMANAGER_H__
#if defined(_PS3)
#define GS_MSGBOX_STRING_MAX (CELL_MSGDIALOG_STRING_SIZE)
#else
#define GS_MSGBOX_STRING_MAX 512
#endif
namespace GameService
{
enum SysMsgBoxMODE
{
EMODE_IDLE = -1,
EMODE_SaveDataNoSpace,
EMODE_TrophyNoSpace,
EMODE_PlayOtherUserSaveData,
EMODE_PlayerAgeForbidden,
EMODE_KeyFileCorrupted,
EMODE_MAX,
EMODE_EXIT
};
class SysMsgBoxManager
{
public:
SysMsgBoxManager();
virtual ~SysMsgBoxManager();
void Display(GS_INT mode, void* exdata1 = NULL);
void Update();
#if defined(_PS3)
void CB_Dialog( int button_type );
#endif
private:
GS_INT m_eMode;
GS_CHAR m_cSysMsgStr[EMODE_MAX][GS_MSGBOX_STRING_MAX];
};
} // namespace GameService
#endif // __SYSMSGBOX_H__