##// END OF EJS Templates
Creates AMDA implementations (default and AMDA test)
Creates AMDA implementations (default and AMDA test)

File last commit:

r1145:222545cbc90a
r1145:222545cbc90a
Show More
AmdaServer.cpp
26 lines | 655 B | text/x-c | CppLexer
#include "AmdaServer.h"
Q_LOGGING_CATEGORY(LOG_AmdaServer, "AmdaServer")
namespace {
/// Default AMDA server
struct AmdaDefaultServer : public AmdaServer {
public:
QString name() const override { return QStringLiteral("AMDA (default)"); }
QString url() const override { return QStringLiteral("amda.irap.omp.eu"); }
};
/// Alternative AMDA server (tests)
struct AmdaTestServer : public AmdaServer {
public:
QString name() const override { return QStringLiteral("AMDA (test)"); }
QString url() const override { return QStringLiteral("amdatest.irap.omp.eu"); }
};
} // namespace
AmdaServer &AmdaServer::instance()
{
/// @todo ALX
}