LibreOffice Module helpcompiler (master) 1
HelpSearch.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#ifndef INCLUDED_HELPCOMPILER_HELPSEARCH_HXX
11#define INCLUDED_HELPCOMPILER_HELPSEARCH_HXX
12
13#include <helpcompiler/dllapi.h>
14
15#include <rtl/ustring.hxx>
16#include <vector>
17
19 private:
20 OString d_indexDir;
21
22 public:
23
27 HelpSearch(OUString const &indexDir);
28
36 void query(OUString const &queryStr, bool captionOnly,
37 std::vector<OUString> &rDocuments, std::vector<float> &rScores);
38};
39
40#endif
41
42/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
OString d_indexDir
Definition: HelpSearch.hxx:20
#define L10N_DLLPUBLIC
Definition: dllapi.h:29
store_handle_type *SAL_CALL query(OStoreObject *pHandle, store_handle_type *)