(cherry picked from commit 20e7ea1336)
20e7ea1336
@ -140,6 +140,14 @@ void KResolverWorkerBase::releaseResolver()
th->releaseResolver();
}
KResolverWorkerFactoryBase::KResolverWorkerFactoryBase()
{
KResolverWorkerFactoryBase::~KResolverWorkerFactoryBase()
void KResolverWorkerFactoryBase::registerNewWorker(KResolverWorkerFactoryBase* factory)
KResolverManager::manager()->registerNewWorker(factory);
@ -289,6 +289,12 @@ protected:
class KResolverWorkerFactoryBase
public:
// default constructor
KResolverWorkerFactoryBase();
// virtual destructor
virtual ~KResolverWorkerFactoryBase();
virtual KResolverWorkerBase* create() const = 0;
/**