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_DESKTOP_MINIDUMP_MINIDUMP_HXX 11 #define INCLUDED_DESKTOP_MINIDUMP_MINIDUMP_HXX 12 13 #include <string> 14 15 #include <desktop/dllapi.h> 16 17 namespace crashreport 18 { 19 // when response = nullptr only make test 20 /** Read+Send, Test and send info from the Dump.ini . 21 22 @param [in] iniPath Path-file to the read/test ini-file (UTF-8 on Windows) 23 @param [in] response=nullptr in this case made the Test only 24 @param [in] response!=nullptr in this case made the Read+Send 25 26 @retval true Read+Send, Test was okay 27 @retval false Read+Send, Test is a error 28 */ 29 30 CRASHREPORT_DLLPUBLIC bool readConfig(const std::string& iniPath, std::string* response); 31 } 32 33 #endif 34 35 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ 36