Add WebUI search API controller

Closes #2495.
This commit is contained in:
Thomas Piccirello 2018-06-06 20:47:27 -04:00
parent b2ffd6e03b
commit 0b6ae68801
8 changed files with 464 additions and 17 deletions

View file

@ -61,6 +61,7 @@
#include "api/authcontroller.h"
#include "api/logcontroller.h"
#include "api/rsscontroller.h"
#include "api/searchcontroller.h"
#include "api/synccontroller.h"
#include "api/torrentscontroller.h"
#include "api/transfercontroller.h"
@ -164,6 +165,7 @@ WebApplication::WebApplication(QObject *parent)
registerAPIController(QLatin1String("auth"), new AuthController(this, this));
registerAPIController(QLatin1String("log"), new LogController(this, this));
registerAPIController(QLatin1String("rss"), new RSSController(this, this));
registerAPIController(QLatin1String("search"), new SearchController(this, this));
registerAPIController(QLatin1String("sync"), new SyncController(this, this));
registerAPIController(QLatin1String("torrents"), new TorrentsController(this, this));
registerAPIController(QLatin1String("transfer"), new TransferController(this, this));