FreeCalypso > hg > fc-tourmaline
comparison src/ui/bmi/mmiSmsMenu.h @ 3:67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Fri, 16 Oct 2020 06:33:10 +0000 |
| parents | |
| children | c0052fe355d3 |
comparison
equal
deleted
inserted
replaced
| 2:3a14ee9a9843 | 3:67bfe9f274f6 |
|---|---|
| 1 #ifndef _DEF_MMI_SMSMENU_H_ | |
| 2 #define _DEF_MMI_SMSMENU_H_ | |
| 3 | |
| 4 | |
| 5 /******************************************************************************* | |
| 6 | |
| 7 CONDAT (UK) | |
| 8 | |
| 9 ******************************************************************************** | |
| 10 | |
| 11 This software product is the property of Condat (UK) Ltd and may not be | |
| 12 disclosed to any third party without the express permission of the owner. | |
| 13 | |
| 14 ******************************************************************************** | |
| 15 | |
| 16 $Project name: Basic MMI | |
| 17 $Project code: BMI (6349) | |
| 18 $Module: SMS | |
| 19 $File: mmiSmsMenu.h | |
| 20 $Revision: 1.0 | |
| 21 | |
| 22 $Author: Condat(UK) | |
| 23 $Date: 25/10/00 | |
| 24 | |
| 25 ******************************************************************************** | |
| 26 | |
| 27 Description: | |
| 28 | |
| 29 header of template for MMI SMS menu dynamic event handling | |
| 30 | |
| 31 | |
| 32 | |
| 33 ******************************************************************************** | |
| 34 | |
| 35 $History: mmiSmsMenu.h | |
| 36 | |
| 37 25/10/00 Original Condat(UK) BMI version. | |
| 38 | |
| 39 $End | |
| 40 | |
| 41 *******************************************************************************/ | |
| 42 #undef GLOBAL_EXT | |
| 43 #if defined (MMI_SMSMENU_C) | |
| 44 #define GLOBAL_EXT | |
| 45 #else | |
| 46 #define GLOBAL_EXT extern | |
| 47 #endif | |
| 48 | |
| 49 | |
| 50 #include "mfw_mfw.h" | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 #define TIMER_EXIT 0x0BB8 /* Default SMS timer period - 3 secs. */ | |
| 56 #define SHORT_SECS 0x01F4 /* Information dialogue display times. */ | |
| 57 #define THREE_SECS 0x0BB8 /* 3000 milliseconds. */ | |
| 58 #define FIVE_SECS 0x1388 /* 5000 milliseconds. */ | |
| 59 #define TEN_SECS 0x2710 /* 10000 milliseconds. */ | |
| 60 #define TWO_MIN 0x1D4C0 /* 2 min */ | |
| 61 #define FOREVER 0xFFFF /* Infinite time period. */ | |
| 62 | |
| 63 | |
| 64 /* This structure must be used by the different modules to pass parameters for SMS sending */ | |
| 65 typedef struct | |
| 66 { | |
| 67 UBYTE TextBuffer[MAX_MSG_LEN_ARRAY]; | |
| 68 UBYTE NumberBuffer[NUMBER_LENGTH]; | |
| 69 UBYTE CentreBuffer[NUMBER_LENGTH]; | |
| 70 /* FTA 34.2.8 | |
| 71 we have to know from where we are calling the | |
| 72 sms sending part. We should use the Service | |
| 73 CenterNumber from the Caller in the case of REPLYING | |
| 74 */ | |
| 75 UBYTE called_from_reply_item; | |
| 76 } T_SmsUserData; | |
| 77 | |
| 78 //x0pleela 20 Sep conc sms | |
| 79 EXTERN USHORT ConcatenateDisplay( struct MfwMnuTag *m, struct MfwMnuAttrTag *ma, struct MfwMnuItemTag *mi ); | |
| 80 | |
| 81 | |
| 82 | |
| 83 // Entry points for the different SMS blocs | |
| 84 GLOBAL_EXT int M_exeSendNew(MfwMnu* m, MfwMnuItem* i); | |
| 85 GLOBAL_EXT int M_exeRead(MfwMnu* m, MfwMnuItem* i); | |
| 86 GLOBAL_EXT int M_exeDelAll(MfwMnu* m, MfwMnuItem* i); | |
| 87 GLOBAL_EXT int M_exeSendSaved(MfwMnu* m, MfwMnuItem* i); | |
| 88 GLOBAL_EXT int M_exeVoice(MfwMnu* m, MfwMnuItem* i); | |
| 89 | |
| 90 /*SPR 1920 removed obsolete function*/ | |
| 91 | |
| 92 // Dialog window callback function | |
| 93 GLOBAL_EXT void SmsMenu_loadDialogDefault(T_DISPLAY_DATA * DisplayInfo); | |
| 94 | |
| 95 int voice_mail_init (void); | |
| 96 | |
| 97 /*************************************************** | |
| 98 **** **** | |
| 99 **** DUMMY DECLARATIONS **** | |
| 100 **** **** | |
| 101 ***************************************************/ | |
| 102 | |
| 103 //Dummy defines | |
| 104 #define TxtNotReady 1 | |
| 105 #define TxtNotDeleted 2 | |
| 106 #define TxtAllDeleted 3 | |
| 107 #define TxtEnterVoiceNumber 4 | |
| 108 //Dummy functions (stubs) | |
| 109 void SmsRead(void); // RAVI | |
| 110 void call_voice(void); // RAVI | |
| 111 void sms_send(T_SmsUserData *); | |
| 112 int sms_get_ready_state(void); // RAVI | |
| 113 | |
| 114 int newSmsMenu_Start(MfwMnu* m, MfwMnuItem* i); | |
| 115 int ExeSms_sendM_SND(MfwMnu *, MfwMnuItem *); | |
| 116 int ExeM_SND(MfwMnu *, MfwMnuItem *); | |
| 117 | |
| 118 /* SPR#1428 - SH - New Editor: These functions moved here from MmiEditor.c */ | |
| 119 #ifdef NEW_EDITOR | |
| 120 #ifdef EASY_TEXT_ENABLED | |
| 121 int showeZiTextIcon(MfwMnu* m, MfwMnuItem* i); | |
| 122 int Easy_Activate(MfwMnu* m, MfwMnuItem* i); | |
| 123 int Easy_DeActivate(MfwMnu* m, MfwMnuItem* i); | |
| 124 #endif /* EASY_TEXT_ENABLED */ | |
| 125 | |
| 126 #ifdef TI_PS_FF_CONC_SMS | |
| 127 //API - 01/10/02 - Concatenation Switch Function Definition | |
| 128 int Concatenate_DeActivate(MfwMnu* m, MfwMnuItem* i); | |
| 129 int Concatenate_Activate(MfwMnu* m, MfwMnuItem* i); | |
| 130 int Concatenate_Status(MfwMnu* m, MfwMnuItem* i); | |
| 131 #endif /*TI_PS_FF_CONC_SMS*/ | |
| 132 #endif /* NEW_EDITOR */ | |
| 133 | |
| 134 #endif /* _DEF_MMI_SMSMENU_H_ */ |
