Gammu internals  1.38.0
gammu-keys.h
Go to the documentation of this file.
1 
7 #ifndef __gammu_keys_h
8 #define __gammu_keys_h
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
19 #include <gammu-error.h>
20 #include <gammu-statemachine.h>
21 #include <gammu-types.h>
22 
23 #include <stdlib.h> /* Needed for size_t declaration */
24 
30 typedef enum {
31  GSM_KEY_NONE = 0x00,
32  GSM_KEY_1 = 0x01,
70  GSM_KEY_UP = 0x17,
125 } GSM_KeyCode;
126 
138 GSM_Error MakeKeySequence(char *text, GSM_KeyCode * KeyCode, size_t * Length);
139 
145 GSM_Error GSM_PressKey(GSM_StateMachine * s, GSM_KeyCode Key, gboolean Press);
146 #ifdef __cplusplus
147 }
148 #endif
149 #endif
150 
151 /* Editor configuration
152  * vim: noexpandtab sw=8 ts=8 sts=8 tw=72:
153  */
GSM_Error GSM_PressKey(GSM_StateMachine *s, GSM_KeyCode Key, gboolean Press)
Definition: api.c:320
GSM_Error
Definition: gammu-error.h:23
int gboolean
Definition: gammu-types.h:23
GSM_KeyCode
Definition: gammu-keys.h:30
GSM_Error MakeKeySequence(char *text, GSM_KeyCode *KeyCode, size_t *Length)
Definition: gsmmisc.c:49