20 #ifndef BTAUTHENTICATIONMONITOR_H
21 #define BTAUTHENTICATIONMONITOR_H
25 #include <ktorrent_export.h>
31 class AuthenticateBase;
38 class KTORRENT_EXPORT AuthenticationMonitor :
public net::Poll
40 std::list<AuthenticateBase*> auths;
42 static AuthenticationMonitor
self;
44 AuthenticationMonitor();
47 ~AuthenticationMonitor()
override;
54 void add(AuthenticateBase* s);
60 void remove(AuthenticateBase* s);
77 static AuthenticationMonitor & instance() {
return self;}