##// END OF EJS Templates
Creates AMDA implementations (default and AMDA test)
Alexandre Leroux -
r1145:222545cbc90a
parent child
Show More
@@ -2,6 +2,24
2
2
3 Q_LOGGING_CATEGORY(LOG_AmdaServer, "AmdaServer")
3 Q_LOGGING_CATEGORY(LOG_AmdaServer, "AmdaServer")
4
4
5 namespace {
6
7 /// Default AMDA server
8 struct AmdaDefaultServer : public AmdaServer {
9 public:
10 QString name() const override { return QStringLiteral("AMDA (default)"); }
11 QString url() const override { return QStringLiteral("amda.irap.omp.eu"); }
12 };
13
14 /// Alternative AMDA server (tests)
15 struct AmdaTestServer : public AmdaServer {
16 public:
17 QString name() const override { return QStringLiteral("AMDA (test)"); }
18 QString url() const override { return QStringLiteral("amdatest.irap.omp.eu"); }
19 };
20
21 } // namespace
22
5 AmdaServer &AmdaServer::instance()
23 AmdaServer &AmdaServer::instance()
6 {
24 {
7 /// @todo ALX
25 /// @todo ALX
General Comments 0
You need to be logged in to leave comments. Login now