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

Update new version: 3.15.02

File:
1 edited

Legend:

Unmodified
Added
Removed
  • filezilla/trunk/fuentes/src/engine/ControlSocket.h

    r130 r3185  
    4747        const bool download;
    4848
    49         CDateTime fileTime;
     49        fz::datetime fileTime;
    5050        int64_t localFileSize{-1};
    5151        int64_t remoteFileSize{-1};
     
    112112
    113113class CTransferStatus;
    114 class CControlSocket: public CLogging, public CEventHandler
     114class CControlSocket: public CLogging, public fz::event_handler
    115115{
    116116public:
     
    172172
    173173protected:
    174         duration GetTimezoneOffset() const;
     174        fz::duration GetTimezoneOffset() const;
    175175
    176176        virtual int DoClose(int nErrorCode = FZ_REPLY_DISCONNECTED);
     
    205205
    206206        // Timeout data
    207         timer_id m_timer{};
    208         CMonotonicClock m_lastActivity;
     207        fz::timer_id m_timer{};
     208        fz::monotonic_clock m_lastActivity;
    209209
    210210        // -------------------------
     
    257257        bool m_invalidateCurrentPath;
    258258
    259         virtual void operator()(CEventBase const& ev);
    260 
    261         void OnTimer(timer_id id);
     259        virtual void operator()(fz::event_base const& ev);
     260
     261        void OnTimer(fz::timer_id id);
    262262        void OnObtainLock();
    263263};
     
    279279        void ResetSocket();
    280280
    281         virtual void operator()(CEventBase const& ev);
     281        virtual void operator()(fz::event_base const& ev);
    282282        void OnSocketEvent(CSocketEventSource* source, SocketEventType t, int error);
    283283        void OnHostAddress(CSocketEventSource* source, wxString const& address);
Note: See TracChangeset for help on using the changeset viewer.