Translation update done using Pootle.
[gammu.git] / helper / message-cmdline.h
blobd2a79657a88142587bc6e6340fa2884b05d6c251
1 #ifndef __helper_message_cmdline_h__
2 #define __helper_message_cmdline_h__
4 #include <gammu-message.h>
5 #include <gammu-statemachine.h>
7 /**
8 * Type of parameters to process.
9 */
10 typedef enum {
11 SMS_Send,
12 SMS_Save,
13 SMS_SendSaved,
14 SMS_Display,
15 SMS_SMSD
16 } GSM_Message_Type;
18 /**
19 * Creates SMS message based on command line parameters.
21 * \param type Determines what kind of message will be created (parameters
22 * are different for each kind). This can be updated to
23 * SMS_SendSaved for SMS_Save.
24 * \param typearg Determinets where in argv parameters for SMS start (eg.
25 * where type of message is placed).
27 GSM_Error CreateMessage(GSM_Message_Type *type, GSM_MultiSMSMessage *sms, int argc, int typearg, char *argv[], GSM_StateMachine *sm);
28 #endif
30 /* How should editor hadle tabs in this file? Add editor commands here.
31 * vim: noexpandtab sw=8 ts=8 sts=8 tw=78: