34 lines
625 B
C++
34 lines
625 B
C++
#include "proxyclient.h"
|
|
#include "authenticator.h"
|
|
#include "authenticationreply.h"
|
|
|
|
namespace remoteproxy {
|
|
|
|
Authenticator::Authenticator(QObject *parent) :
|
|
QObject(parent)
|
|
{
|
|
|
|
}
|
|
|
|
void Authenticator::setReplyError(AuthenticationReply *reply, Authenticator::AuthenticationError error)
|
|
{
|
|
reply->setError(error);
|
|
}
|
|
|
|
void Authenticator::setReplyFinished(AuthenticationReply *reply)
|
|
{
|
|
reply->setFinished();
|
|
}
|
|
|
|
AuthenticationReply *Authenticator::createAuthenticationReply(ProxyClient *proxyClient, QObject *parent)
|
|
{
|
|
return new AuthenticationReply(proxyClient, parent);
|
|
}
|
|
|
|
Authenticator::~Authenticator()
|
|
{
|
|
|
|
}
|
|
|
|
}
|