Safir SDK Core
Loading...
Searching...
No Matches
SwReport.h
Go to the documentation of this file.
1/******************************************************************************
2*
3* Copyright Saab AB, 2006-2013 (http://safirsdkcore.com)
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#ifndef SAFIR_NO_DEPRECATED
31
32namespace Safir
33{
34
62namespace SwReports
63{
64
78 SWRE_INTERFACE_CPP_API void SendFatalErrorReport(const std::wstring& errorCode,
79 const std::wstring& location,
80 const std::wstring& text);
81
94 SWRE_INTERFACE_CPP_API void SendErrorReport(const std::wstring& errorCode,
95 const std::wstring& location,
96 const std::wstring& text);
97
111 SWRE_INTERFACE_CPP_API void SendResourceReport(const std::wstring& resourceId,
112 bool allocated,
113 const std::wstring& text);
114
128 SWRE_INTERFACE_CPP_API void SendProgrammingErrorReport(const std::wstring& errorCode,
129 const std::wstring& location,
130 const std::wstring& text);
131
143 SWRE_INTERFACE_CPP_API void SendProgramInfoReport(const std::wstring& text);
144
145}
146}
147#endif
148
149#endif
This namespace contains all the functionality and definitions of the SAFIR SDK.
Definition Backdoor.h:31
SWRE_INTERFACE_CPP_API void SendProgramInfoReport(const std::wstring &text)
Sends a Programming Info 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 SendFatalErrorReport(const std::wstring &errorCode, const std::wstring &location, const std::wstring &text)
Sends a Fatal Error report.
SWRE_INTERFACE_CPP_API void SendErrorReport(const std::wstring &errorCode, const std::wstring &location, const std::wstring &text)
Sends an Error report.
SWRE_INTERFACE_CPP_API void SendProgrammingErrorReport(const std::wstring &errorCode, const std::wstring &location, const std::wstring &text)
Sends a Programming Error report.