51 |
|
#include "Search.hpp" |
52 |
|
#include "Indexer.hpp" |
53 |
|
#include "Searcher.hpp" |
54 |
< |
#include "Outputer.hpp" |
54 |
> |
#include "Outputter.hpp" |
55 |
|
|
56 |
|
#ifndef _WIN32 |
57 |
|
#include <sys/utsname.h> |
270 |
|
query = line; |
271 |
|
|
272 |
|
Searcher searcher(query); |
273 |
< |
Outputer outputer(header, body, footer, notfound, pages); |
273 |
> |
Outputter outputter(header, body, footer, notfound, pages); |
274 |
|
|
275 |
|
searcher.search(indices); |
276 |
< |
outputer.output(searcher, page < 1 ? page : --page); |
276 |
> |
outputter.output(searcher, page < 1 ? page : --page); |
277 |
|
} |
278 |
|
|
279 |
|
return 0; |