Exemplo n.º 1
0
HRESULT CFrameProcessor_Common::Reset(void)
{
    vEmptyLogObjArray(m_omLogListTmp);
    //m_omLogListTmp.Copy(m_omLogObjectArray);
    vCopyLogObjArray(m_omLogListTmp, m_omLogObjectArray);
    m_bLogFlagTmp = m_bExprnFlag_Log;
    return S_OK;
}
HRESULT CFrameProcessor_Common::Confirm(void)
{
    HRESULT hResult = S_FALSE;

    if (bIsEditingON())
    {
        vUpdateLoggingFlag(); // First ensure m_bLogFlagTmp is updated
        vEmptyLogObjArray(m_omLogObjectArray);
        //m_omLogObjectArray.Copy(m_omLogListTmp);
        vCopyLogObjArray(m_omLogObjectArray, m_omLogListTmp);
        m_bExprnFlag_Log = m_bLogFlagTmp; // Then only assign value to log flag
        hResult = S_OK;
    }

    return hResult;
}