Safir SDK Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SwReport.h
Go to the documentation of this file.
1 /******************************************************************************
2 *
3 * Copyright Saab AB, 2006-2013 (http://safir.sourceforge.net)
4 *
5 * Created by: Anders Widén / stawi
6 *
7 *******************************************************************************
8 *
9 * This file is part of Safir SDK Core.
10 *
11 * Safir SDK Core is free software: you can redistribute it and/or modify
12 * it under the terms of version 3 of the GNU General Public License as
13 * published by the Free Software Foundation.
14 *
15 * Safir SDK Core is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with Safir SDK Core. If not, see <http://www.gnu.org/licenses/>.
22 *
23 ******************************************************************************/
24 #ifndef __SW_REPORT_H
25 #define __SW_REPORT_H
26 
27 #include <Safir/Application/Internal/SwReportExportDefs.h>
28 #include <string>
29 
30 namespace Safir
31 {
32 
60 namespace SwReports
61 {
62 
76  SWRE_INTERFACE_CPP_API void SendFatalErrorReport(const std::wstring& errorCode,
77  const std::wstring& location,
78  const std::wstring& text);
79 
92  SWRE_INTERFACE_CPP_API void SendErrorReport(const std::wstring& errorCode,
93  const std::wstring& location,
94  const std::wstring& text);
95 
109  SWRE_INTERFACE_CPP_API void SendResourceReport(const std::wstring& resourceId,
110  bool allocated,
111  const std::wstring& text);
112 
126  SWRE_INTERFACE_CPP_API void SendProgrammingErrorReport(const std::wstring& errorCode,
127  const std::wstring& location,
128  const std::wstring& text);
129 
141  SWRE_INTERFACE_CPP_API void SendProgramInfoReport(const std::wstring& text);
142 
143 };
144 };
145 
146 #endif
SWRE_INTERFACE_CPP_API void SendFatalErrorReport(const std::wstring &errorCode, const std::wstring &location, const std::wstring &text)
Sends a Fatal Error report.
SWRE_INTERFACE_CPP_API void SendResourceReport(const std::wstring &resourceId, bool allocated, const std::wstring &text)
Sends a Resource report.
SWRE_INTERFACE_CPP_API void SendProgrammingErrorReport(const std::wstring &errorCode, const std::wstring &location, const std::wstring &text)
Sends a Programming Error report.
SWRE_INTERFACE_CPP_API void SendProgramInfoReport(const std::wstring &text)
Sends a Programming Info report.
SWRE_INTERFACE_CPP_API void SendErrorReport(const std::wstring &errorCode, const std::wstring &location, const std::wstring &text)
Sends an Error report.