X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=include%2Ffreenet%2Fifcpconnected.h;h=9ecf015245644528ed830b09786fc5e342bd9694;hp=19bea17aad5077c95af9ea736ea1d8c6679458ce;hb=4e96d123460d6363cf7274e36bd9357768eb86ad;hpb=e662ea47fba8715474851ceebacba400984ee433 diff --git a/include/freenet/ifcpconnected.h b/include/freenet/ifcpconnected.h index 19bea17..9ecf015 100644 --- a/include/freenet/ifcpconnected.h +++ b/include/freenet/ifcpconnected.h @@ -10,10 +10,10 @@ class IFCPConnected { public: IFCPConnected():m_fcp(NULL) {} - IFCPConnected(FCPv2 *fcp):m_fcp(fcp) {} + IFCPConnected(FCPv2::Connection *fcp):m_fcp(fcp) {} - virtual void SetFCPConnection(FCPv2 *fcp) { m_fcp=fcp; } - virtual FCPv2 *GetFCPConnection() { return m_fcp; } + virtual void SetFCPConnection(FCPv2::Connection *fcp) { m_fcp=fcp; } + virtual FCPv2::Connection *GetFCPConnection() { return m_fcp; } /** \brief called when the FCP connection becomes disconnected @@ -29,7 +29,7 @@ public: virtual void FCPConnected()=0; protected: - FCPv2 *m_fcp; + FCPv2::Connection *m_fcp; }; #endif // _ifcpconnected_