summaryrefslogtreecommitdiff
path: root/service/apiImpl.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-01-09 13:58:38 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-01-09 13:58:38 +0000
commit62d506c24aaf543f84c82e2850a05b1387e4990d (patch)
tree3d356dcef6cb64baf648119c6b61aa9afd4e450b /service/apiImpl.h
parentExclude api.h from tidy checks (diff)
downloadmirrorsearch-62d506c24aaf543f84c82e2850a05b1387e4990d.tar.bz2
mirrorsearch-62d506c24aaf543f84c82e2850a05b1387e4990d.tar.xz
mirrorsearch-62d506c24aaf543f84c82e2850a05b1387e4990d.zip
Clang format
Diffstat (limited to 'service/apiImpl.h')
-rw-r--r--service/apiImpl.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/service/apiImpl.h b/service/apiImpl.h
index 0ee7972..93aaf9e 100644
--- a/service/apiImpl.h
+++ b/service/apiImpl.h
@@ -1,25 +1,25 @@
#ifndef MIRRORSEARCH_APIIMPL_H
#define MIRRORSEARCH_APIIMPL_H
-#include <api.h>
#include <abstractDatabaseClient.h>
+#include <api.h>
#include <logger.h>
namespace MirrorSearch {
class SearchImpl : public Search, public IceTray::AbstractDatabaseClient {
- public:
- SearchImpl(const DB::ConnectionPoolPtr &);
+ public:
+ SearchImpl(const DB::ConnectionPoolPtr &);
- virtual SearchServices getServices(const ::Ice::Current& = ::Ice::Current()) override;
- virtual SearchHits getMatches(const ::std::string, const ::Ice::Current& = ::Ice::Current()) override;
- virtual ::IceUtil::Optional<::std::string> feelingLucky(const ::std::string, const ::Ice::Current& = ::Ice::Current()) override;
+ virtual SearchServices getServices(const ::Ice::Current & = ::Ice::Current()) override;
+ virtual SearchHits getMatches(const ::std::string, const ::Ice::Current & = ::Ice::Current()) override;
+ virtual ::IceUtil::Optional<::std::string> feelingLucky(
+ const ::std::string, const ::Ice::Current & = ::Ice::Current()) override;
- private:
- void callService(const ::std::string & fn, const SearchServicePtr & s, SearchHits & sh) const;
+ private:
+ void callService(const ::std::string & fn, const SearchServicePtr & s, SearchHits & sh) const;
- LOG::LoggerPtr log;
+ LOG::LoggerPtr log;
};
}
#endif
-