summaryrefslogtreecommitdiff
path: root/service/apiImpl.h
diff options
context:
space:
mode:
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
-