Mercurial > hg > orthanc
diff OrthancServer/ServerContext.h @ 1757:98abb8d7f905 db-changes
ServerContext::Apply lookup
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 28 Oct 2015 12:29:12 +0100 |
parents | faf2ecab3472 |
children | 318c2e83c2bd |
line wrap: on
line diff
--- a/OrthancServer/ServerContext.h Wed Oct 28 12:14:06 2015 +0100 +++ b/OrthancServer/ServerContext.h Wed Oct 28 12:29:12 2015 +0100 @@ -47,6 +47,7 @@ #include "Scheduler/ServerScheduler.h" #include "ServerIndex.h" #include "OrthancHttpHandler.h" +#include "Search/LookupResource.h" #include <boost/filesystem.hpp> #include <boost/thread.hpp> @@ -245,6 +246,10 @@ void Stop(); + bool Apply(std::vector<std::string>& result, + const ::Orthanc::LookupResource& lookup, + size_t maxResults); + /** * Management of the plugins