author | zautrix <zautrix> | 2004-08-07 17:24:40 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-08-07 17:24:40 (UTC) |
commit | 88b0d33b8b0b1f6ae320cfc863ca6a47fa8fec22 (patch) (unidiff) | |
tree | 6331418973714243beb674abc87692277b83869d /gammu/emb/common/service/gsmprof.h | |
parent | ef8a09ce74ad3f0a51484d03fdf009bd5b3677bf (diff) | |
download | kdepimpi-88b0d33b8b0b1f6ae320cfc863ca6a47fa8fec22.zip kdepimpi-88b0d33b8b0b1f6ae320cfc863ca6a47fa8fec22.tar.gz kdepimpi-88b0d33b8b0b1f6ae320cfc863ca6a47fa8fec22.tar.bz2 |
Initial revision
Diffstat (limited to 'gammu/emb/common/service/gsmprof.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | gammu/emb/common/service/gsmprof.h | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/gammu/emb/common/service/gsmprof.h b/gammu/emb/common/service/gsmprof.h new file mode 100644 index 0000000..2e3d087 --- a/dev/null +++ b/gammu/emb/common/service/gsmprof.h | |||
@@ -0,0 +1,104 @@ | |||
1 | /* (c) 2002-2003 by Marcin Wiacek */ | ||
2 | |||
3 | #ifndef __gsm_prof_h | ||
4 | #define __gsm_prof_h | ||
5 | |||
6 | typedef enum { | ||
7 | PROFILE_KEYPAD_LEVEL1 = 1, | ||
8 | PROFILE_KEYPAD_LEVEL2, | ||
9 | PROFILE_KEYPAD_LEVEL3, | ||
10 | PROFILE_KEYPAD_OFF, | ||
11 | PROFILE_CALLALERT_RINGING, | ||
12 | PROFILE_CALLALERT_BEEPONCE, | ||
13 | PROFILE_CALLALERT_OFF, | ||
14 | PROFILE_CALLALERT_RINGONCE, | ||
15 | PROFILE_CALLALERT_ASCENDING, | ||
16 | PROFILE_CALLALERT_CALLERGROUPS, | ||
17 | PROFILE_VOLUME_LEVEL1, | ||
18 | PROFILE_VOLUME_LEVEL2, | ||
19 | PROFILE_VOLUME_LEVEL3, | ||
20 | PROFILE_VOLUME_LEVEL4, | ||
21 | PROFILE_VOLUME_LEVEL5, | ||
22 | PROFILE_MESSAGE_NOTONE, | ||
23 | PROFILE_MESSAGE_STANDARD, | ||
24 | PROFILE_MESSAGE_SPECIAL, | ||
25 | PROFILE_MESSAGE_BEEPONCE, | ||
26 | PROFILE_MESSAGE_ASCENDING, | ||
27 | PROFILE_MESSAGE_PERSONAL, | ||
28 | PROFILE_VIBRATION_OFF, | ||
29 | PROFILE_VIBRATION_ON, | ||
30 | PROFILE_VIBRATION_FIRST, | ||
31 | PROFILE_WARNING_ON, | ||
32 | PROFILE_WARNING_OFF, | ||
33 | PROFILE_AUTOANSWER_ON, | ||
34 | PROFILE_AUTOANSWER_OFF, | ||
35 | PROFILE_LIGHTS_OFF, | ||
36 | PROFILE_LIGHTS_AUTO, | ||
37 | PROFILE_SAVER_ON, | ||
38 | PROFILE_SAVER_OFF, | ||
39 | PROFILE_SAVER_TIMEOUT_5SEC, | ||
40 | PROFILE_SAVER_TIMEOUT_20SEC, | ||
41 | PROFILE_SAVER_TIMEOUT_1MIN, | ||
42 | PROFILE_SAVER_TIMEOUT_2MIN, | ||
43 | PROFILE_SAVER_TIMEOUT_5MIN, | ||
44 | PROFILE_SAVER_TIMEOUT_10MIN | ||
45 | } GSM_Profile_Feat_Value; | ||
46 | |||
47 | typedef enum { | ||
48 | Profile_KeypadTone = 1, | ||
49 | Profile_CallAlert, | ||
50 | Profile_RingtoneVolume, | ||
51 | Profile_MessageTone, | ||
52 | Profile_Vibration, | ||
53 | Profile_WarningTone, | ||
54 | Profile_AutoAnswer, | ||
55 | Profile_Lights, | ||
56 | Profile_ScreenSaverTime, | ||
57 | Profile_ScreenSaver, | ||
58 | |||
59 | Profile_ScreenSaverNumber, | ||
60 | Profile_RingtoneID, | ||
61 | Profile_MessageToneID, | ||
62 | Profile_CallerGroups | ||
63 | } GSM_Profile_Feat_ID; | ||
64 | |||
65 | /** | ||
66 | * It contains phone profiles | ||
67 | */ | ||
68 | typedef struct { | ||
69 | bool Active; | ||
70 | |||
71 | /** | ||
72 | * Profile number | ||
73 | */ | ||
74 | int Location; | ||
75 | /** | ||
76 | * Profile name | ||
77 | */ | ||
78 | char Name[40*2]; | ||
79 | /** | ||
80 | * Is it default name for profile ? | ||
81 | */ | ||
82 | bool DefaultName; | ||
83 | bool HeadSetProfile; | ||
84 | bool CarKitProfile; | ||
85 | |||
86 | int FeaturesNumber; | ||
87 | GSM_Profile_Feat_ValueFeatureValue[15]; | ||
88 | GSM_Profile_Feat_IDFeatureID[15]; | ||
89 | |||
90 | bool CallerGroups[5]; | ||
91 | } GSM_Profile; | ||
92 | |||
93 | typedef struct { | ||
94 | GSM_Profile_Feat_IDID; | ||
95 | GSM_Profile_Feat_ValueValue; | ||
96 | unsigned char PhoneID; | ||
97 | unsigned char PhoneValue; | ||
98 | } GSM_Profile_PhoneTableValue; | ||
99 | |||
100 | #endif | ||
101 | |||
102 | /* How should editor hadle tabs in this file? Add editor commands here. | ||
103 | * vim: noexpandtab sw=8 ts=8 sts=8: | ||
104 | */ | ||