コード例 #1
0
ファイル: CallFixedDialList.c プロジェクト: jprothwell/sc-fix
/**************************************************************

	FUNCTION NAME		: ExitSECSETFDNDetails(void)
  	PURPOSE				: Exit fn for FDL add screen
	INPUT PARAMETERS	: nil
	OUTPUT PARAMETERS	: nil
	RETURNS				: void
  	Author				: Vanita Jain
 

**************************************************************/
void ExitSECSETFDNDetails(void)
{
	history_t   Scr; /* Variable to hold the history data*/
	S16 nHistory = 0;
	U16 size;

	CloseCategory57Screen();   
	Scr.scrnID = SCR_ID_SECSET_FDN_DETAILS;
	Scr.entryFuncPtr = EntrySECSETFDNDetails;
	pfnUnicodeStrcpy((S8*)Scr.inputBuffer, ( S8*)&nHistory);
	GetCategory57History(Scr.guiBuffer);
	size = (U16)GetCategory57DataSize( );     //added for inline edit history
	GetCategory57Data ((U8*) Scr.inputBuffer );         //added for inline edit history
	AddNHistory(Scr, size);   
}
コード例 #2
0
ファイル: UserCtrlPlmn.c プロジェクト: 12019/mtktest
/*****************************************************************************
 * FUNCTION
 *  mmi_netset_exit_user_ctrl_plmn_add_data
 * DESCRIPTION
 *  
 * PARAMETERS
 *  void
 * RETURNS
 *  void
 *****************************************************************************/
void mmi_netset_exit_user_ctrl_plmn_add_data(void)
{
    /*----------------------------------------------------------------*/
    /* Local Variables                                                */
    /*----------------------------------------------------------------*/
    history Scr;            /* Variable to hold the history data */
    S16 nHistory = 0;
    U16 inputBufferSize;    /* added for inline edit history */

    /*----------------------------------------------------------------*/
    /* Code Body                                                      */
    /*----------------------------------------------------------------*/
    CloseCategory57Screen();
    Scr.scrnID = SCR_ID_NETSET_USER_CTRL_PLMN_ADD;
    Scr.entryFuncPtr = mmi_netset_entry_user_ctrl_plmn_add_data;
    mmi_ucs2cpy((S8*) Scr.inputBuffer, (S8*) & nHistory);
    inputBufferSize = (S16) GetCategory57DataSize();    /* added for inline edit history */
    GetCategory57Data((U8*) Scr.inputBuffer);           /* added for inline edit history */
    GetCategory57History(Scr.guiBuffer);
    AddNHistory(Scr, inputBufferSize);
}