Beispiel #1
0
/**************************************************************

	FUNCTION NAME		: ExitSECSETFDNListReload(void)
  	PURPOSE				: 
	INPUT PARAMETERS	: nil
	OUTPUT PARAMETERS	: nil
	RETURNS				: void
  	Author				: Vanita Jain
 

**************************************************************/
void ExitSECSETFDNListReload(void)
{
	history_t   Scr;
	S16 nHistory = 0;	
	DeleteScreenIfPresent(SCR_ID_SECSET_FDN_LIST);
	Scr.scrnID = SCR_ID_SECSET_FDN_LIST;
	Scr.entryFuncPtr = EntryFdlList;
	pfnUnicodeStrcpy((S8*)Scr.inputBuffer, (S8*)&nHistory);
	GetCategoryHistory(Scr.guiBuffer);
	AddHistory(Scr);
}
Beispiel #2
0
/*****************************************************************************
 * FUNCTION
 *  ExitScrCMErrMsg
 * DESCRIPTION
 *  Exit handler for the error pop up screen
 * PARAMETERS
 *  void
 * RETURNS
 *  void
 *****************************************************************************/
void ExitScrCMErrMsg(void)
{
    /*----------------------------------------------------------------*/
    /* Local Variables                                                */
    /*----------------------------------------------------------------*/

    /*----------------------------------------------------------------*/
    /* Code Body                                                      */
    /*----------------------------------------------------------------*/
    MMI_TRACE(MMI_TRACE_G5_CM, MMI_CM_FUNC_ExitScrCMErrMsg);

    if (GetErrorToneFlag() > 0)
    {
        stopRequestedTone(GetErrorToneFlag());
        SetErrorToneFlag(0);
    }
    StopTimer(CM_NOTIFYDURATION_TIMER);

    if (cm_p->redial_info.RedialState == TRUE)
    {
        /* in redial process */
        if (cm_p->redial_info.ErrRedialScreen == TRUE)
        {
            /* error msg got interrupted */
            history Scr1009;
            S16 nHistory = 0;

            MMI_TRACE(MMI_TRACE_G5_CM, MMI_CM_INFO_ExitScrCMErrMsgRedial);

            Scr1009.scrnID = CM_SCR_RDL_TIME;
            Scr1009.entryFuncPtr = EntryScrShowUserTimeToRedial;
            mmi_ucs2cpy((S8*) Scr1009.inputBuffer, (S8*) & nHistory);
            GetCategoryHistory(Scr1009.guiBuffer);
            AddHistory(Scr1009);
            cm_p->redial_info.ErrRedialScreen = FALSE;
            return;
        }
        else
        {
            /* error msg timer expire => going to Notify Redial Screen */
            return;
        }
    }

    /* SetRedialScreen(FALSE); */

    if (GetPOPUpFlag())
    {
        SetPOPUpFlag(FALSE);
        AdjustHistoryForCM();
    }
}
/**************************************************************

	FUNCTION NAME		: ExitInputMethodSelectScreen

  	PURPOSE				: Exit function for input method screen

	INPUT PARAMETERS	: nil

	OUTPUT PARAMETERS	: nil

	RETURNS				: void



**************************************************************/
void ExitInputMethodSelectScreen(void)
{
    history_t   Scr; /* Variable to hold the history data*/
    S16 nHistory = 0;
    /* getting details of the current screen (to be added to history) */
    Scr.scrnID = SCR_INPUT_METHOD_SELECTION;
    Scr.entryFuncPtr = EntryScrPreferedInputMethodList;
    pfnUnicodeStrcpy((S8*)Scr.inputBuffer, ( S8*)&nHistory);
    GetCategoryHistory(Scr.guiBuffer);
    /* add the screen to history */
    AddHistory(Scr);
    return;
}
void ExitEmSocketPingMenu(void)
{
	history_t	h;
	U16 inputBufferSize;
	CloseCategory57Screen();
	h.scrnID = EM_GPRS_PING_MENUID;
	iFdcs = (U8)GetInlineEditUCS2Count(&EmPingInlineItem[1]);
	h.entryFuncPtr = EntryEmSockePingMenu;
	GetCategoryHistory(h.guiBuffer);
	inputBufferSize =(U16)GetCategory57DataSize( ); 
	GetCategory57Data ((U8*) h.inputBuffer );  
	AddNHistory(h, inputBufferSize);           
}
/*****************************************************************************
* FUNCTION
*	ExitSpofEdit
* DESCRIPTION
*   Exit Handler For SPOF Edit Screen
* PARAMETERS
*	None.
* RETURNS
*	None.
* GLOBALS AFFECTED
*	None
*****************************************************************************/
void ExitSpofEdit(void)
{
	history_t   Scr; 
	U16 inputBufferSize;                //added for inline edit history
 
	S16 nHistory =0;
	Scr.scrnID = SCR_ID_SPOF_EDITOR;
	CloseCategory57Screen();
	Scr.entryFuncPtr = EntrySpofEdit;
	pfnUnicodeStrcpy((S8*)Scr.inputBuffer,(S8*)&nHistory);
	GetCategoryHistory(Scr.guiBuffer);
	inputBufferSize = (U16)GetCategory57DataSize();     //added for inline edit history
	GetCategory57Data ((U8*) Scr.inputBuffer );         //added for inline edit history
	AddNHistory(Scr, inputBufferSize);                       //added for inline edit history
}
Beispiel #6
0
/*****************************************************************************
* FUNCTION
*	ExitBMIInputScreen
* DESCRIPTION
*   Exit handler of EntryBMIInputScreen
* PARAMETERS
*	None
* RETURNS
*	None
* GLOBALS AFFECTED
*	None
*****************************************************************************/
void ExitBMIInputScreen(void) 
{
	history_t h;
	U16 inputBufferSize;                			//added for inline edit history
	U16 nHistory = 0;
	set_leading_zero(TRUE);
	CloseCategory57Screen();       
	h.scrnID = SCR_BMI_INPUT;
	h.entryFuncPtr = EntryBMIInputScreen;
	pfnUnicodeStrcpy((S8*)h.inputBuffer, (S8*)&nHistory);
	GetCategoryHistory(h.guiBuffer);

	inputBufferSize = (U16)GetCategory57DataSize();	//added for inline edit history
	GetCategory57Data ((U8*)h.inputBuffer);			//added for inline edit history
	AddNHistory(h, inputBufferSize);				//added for inline edit history
	
	#ifdef __MMI_SLIM_LISTMENU_NUMBER__ 
 		wgui_restore_list_menu_slim_style();
 	#endif
}