1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
10 #ifndef INCLUDED_DESKTOP_MINIDUMP_MINIDUMP_HXX
11 #define INCLUDED_DESKTOP_MINIDUMP_MINIDUMP_HXX
15 #include <desktop/dllapi.h>
17 namespace crashreport
{
19 // when response = nullptr only make test
20 /** Read+Send, Test and send info from the Dump.ini .
22 @param [in] iniPath Path-file to the read/test ini-file
23 @param [in] response=nullptr in this case made the Test only
24 @param [in] response!=nullptr in this case made the Read+Send
26 @retval true Read+Send, Test was okay
27 @retval false Read+Send, Test is a error
30 CRASHREPORT_DLLPUBLIC
bool readConfig(const std::string
& iniPath
, std::string
* response
);
36 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */