MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / AttachObserver

Method AttachObserver

deps/FtpClient/FTPClient.cpp:341–346  ·  view source on GitHub ↗

Attach an observer to the client. You can attach as many observers as you want. The client send notifications (more precisely the virtual functions are called) to the observers.

Source from the content-addressed store, hash-verified

339/// The client send notifications (more precisely the virtual functions are called)
340/// to the observers.
341void CFTPClient::AttachObserver(CFTPClient::CNotification* pObserver)
342{
343 ASSERT( pObserver );
344 if( pObserver )
345 m_setObserver.Attach(pObserver);
346}
347
348/// Detach an observer from the client.
349void CFTPClient::DetachObserver(CFTPClient::CNotification* pObserver)

Callers 2

do_download_fileFunction · 0.80

Calls 1

AttachMethod · 0.80

Tested by

no test coverage detected