sqldata/sqldatacmd.cpp
// Callback (already called from a critical section)
Callback (already called from a critical section)
Callback ( already called from a critical section )
void SqlDataCmd::Callback(SqlDataReply *reply)
{
	if(reply == NULL || reply->_cmd_subtype == SQLDATA_CMD_SKIPPED)
		return;
	if(reply->_cmd == SQLDATA_CMD_TRANSFER)
		CallbackTransfer(reply);
	else
	if(reply->_cmd == SQLDATA_CMD_VALIDATE)
	{
		if(_command_options == SQLDATA_OPT_ROWCOUNT)
			CallbackValidationRowCount(reply);
		else
		if(_command_options == SQLDATA_OPT_ROWS)
			CallbackValidationRows(reply);
	}
	else
	if(reply->_cmd == SQLDATA_CMD_ASSESS)
		CallbackAssess(reply);
	if(_ui_callback != NULL)
		_ui_callback(_ui_callback_object, reply);
}
void SqlDataCmd :: Callback ( SqlDataReply * reply ) { if ( reply == NULL || reply -> _cmd_subtype == SQLDATA_CMD_SKIPPED ) return ; if ( reply -> _cmd == SQLDATA_CMD_TRANSFER ) CallbackTransfer ( reply ) ; else if ( reply -> _cmd == SQLDATA_CMD_VALIDATE ) { if ( _command_options == SQLDATA_OPT_ROWCOUNT ) CallbackValidationRowCount ( reply ) ; else if ( _command_options == SQLDATA_OPT_ROWS ) CallbackValidationRows ( reply ) ; } else if ( reply -> _cmd == SQLDATA_CMD_ASSESS ) CallbackAssess ( reply ) ; if ( _ui_callback != NULL ) _ui_callback ( _ui_callback_object , reply ) ; }
Callback (already called from a critical section)
Callback ( already called from a critical section )
// Update UI module