-
Notifications
You must be signed in to change notification settings - Fork 4
/
translate.h
80 lines (70 loc) · 1.29 KB
/
translate.h
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#ifndef __TRANSLATE_H__
#define __TRANSLATE_H__
struct HardwareInformation
{
char *model;
char *no_model;
char *mobo;
char *region;
char *gen;
char *eeprom;
char *pandora;
char *initialfw;
char *umdfw;
char *nandsize;
char *regname[11];
};
struct BatteryInformation
{
char *ex_power;
char *batt_stat;
char *batt_stat_present;
char *batt_stat_absent;
char *charging;
char *charging_cpl;
char *no_charge_lvl;
char *charge_lvl;
char *charge_stat;
char *charge_stat_low;
char *charge_stat_normal;
char *charge_stat_strong;
char *no_left_time;
char *left_time;
char *no_voltage;
char *voltage;
char *no_temperature;
char *temperature;
char *no_remain_capacity;
char *remain_capacity;
char *no_total_capacity;
char *total_capacity;
char *serial;
char *no_serial;
char *mode;
char *mode_service;
char *mode_autoboot;
char *mode_default;
};
struct SystemInformation
{
char *fw;
char *button_assign;
char *username;
char *password;
char *vertxterr;
};
typedef struct _EverestTranslate
{
char *yes;
char *no;
char *hardware_title;
struct HardwareInformation hardware;
char *battery_title;
struct BatteryInformation battery;
char *system_title;
struct SystemInformation system;
char *exit;
} EverestTranslate;
extern EverestTranslate *trans;
void SetupTranslate();
#endif