Ignore:
Timestamp:
Jan 9, 2017, 11:09:38 AM (2 years ago)
Author:
jrpelegrina
Message:

Update new version: 3.15.02

File:
1 edited

Legend:

Unmodified
Added
Removed
  • filezilla/trunk/fuentes/src/engine/backend.cpp

    r130 r3185  
    55#include <errno.h>
    66
    7 CBackend::CBackend(CEventHandler* pEvtHandler) : m_pEvtHandler(pEvtHandler)
     7CBackend::CBackend(fz::event_handler* pEvtHandler) : m_pEvtHandler(pEvtHandler)
    88{
    99}
     
    1414}
    1515
    16 CSocketBackend::CSocketBackend(CEventHandler* pEvtHandler, CSocket & socket, CRateLimiter& rateLimiter)
     16CSocketBackend::CSocketBackend(fz::event_handler* pEvtHandler, CSocket & socket, CRateLimiter& rateLimiter)
    1717        : CBackend(pEvtHandler)
    1818        , socket_(socket)
     
    7272}
    7373
    74 void CSocketBackend::OnRateAvailable(enum CRateLimiter::rate_direction direction)
     74void CSocketBackend::OnRateAvailable(CRateLimiter::rate_direction direction)
    7575{
    7676        if (direction == CRateLimiter::outbound)
    77                 m_pEvtHandler->SendEvent<CSocketEvent>(this, SocketEventType::write, 0);
     77                m_pEvtHandler->send_event<CSocketEvent>(this, SocketEventType::write, 0);
    7878        else
    79                 m_pEvtHandler->SendEvent<CSocketEvent>(this, SocketEventType::read, 0);
     79                m_pEvtHandler->send_event<CSocketEvent>(this, SocketEventType::read, 0);
    8080}
Note: See TracChangeset for help on using the changeset viewer.