diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-07-16 05:38:32 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-07-22 07:33:37 -0400 |
| commit | 54d98e291701f2187174a67c186f1ea762c6b959 (patch) | |
| tree | 5ef78396bf9bc364146ae7bd4dd9a9fee2529504 /src/shared/error_report.h | |
| parent | bc9f286bce224743d244e540d55f26b55affbd4a (diff) | |
removed unused or redundant stuff in error_report.h
renamed log() to vlog() for now
extracted console creation to Console class
rewrote LogBuffer to work with logging from uibase, renamed to LogModel
added fmt dependency
Diffstat (limited to 'src/shared/error_report.h')
| -rw-r--r-- | src/shared/error_report.h | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/src/shared/error_report.h b/src/shared/error_report.h index c09ad75b..a003ee09 100644 --- a/src/shared/error_report.h +++ b/src/shared/error_report.h @@ -24,28 +24,11 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #include <Windows.h>
#include <string>
-namespace std {
-#ifdef UNICODE
-typedef wstring tstring;
-#else
-typedef string tstring;
-#endif
-}
-
-extern void log(const char* format, ...);
-
namespace MOShared {
void reportError(LPCSTR format, ...);
void reportError(LPCWSTR format, ...);
-std::string getCurrentErrorStringA();
-std::wstring getCurrentErrorStringW();
-
-#ifdef UNICODE
-#define getCurrentErrorString getCurrentErrorStringW
-#else
-#define getCurrentErrorString getCurrentErrorStringA
-#endif
-
} // namespace MOShared
+
+void vlog(const char* format, ...);
|
