summaryrefslogtreecommitdiff
path: root/src/gui/core/logs.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2024-05-14 20:00:12 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2024-05-14 20:00:12 (GMT)
commited57185faa4d7a53d953cf74a6f8626f44ce9b75 (patch)
treef34cb583e8c0d054676adb9f1da826aa92479d11 /src/gui/core/logs.h
parente9f10d8fe1c5e9f8a70801c1cd4d3d342e290f15 (diff)
Restore some logging facilities with automatic switch to the GUI.
Diffstat (limited to 'src/gui/core/logs.h')
-rw-r--r--src/gui/core/logs.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/gui/core/logs.h b/src/gui/core/logs.h
new file mode 100644
index 0000000..b489339
--- /dev/null
+++ b/src/gui/core/logs.h
@@ -0,0 +1,37 @@
+
+/* Chrysalide - Outil d'analyse de fichiers binaires
+ * logs.h - prototypes pour la diffusion graphique de messages d'alerte ou informatifs
+ *
+ * Copyright (C) 2024 Cyrille Bagard
+ *
+ * This file is part of Chrysalide.
+ *
+ * Chrysalide is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Chrysalide is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Chrysalide. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+
+#ifndef _GUI_CORE_LOGS_H
+#define _GUI_CORE_LOGS_H
+
+
+#include "../../core/logs.h"
+
+
+
+/* Affiche un message dans le terminal courant. */
+void do_log_message_alt(LogMessageType, const char *);
+
+
+
+#endif /* _GUI_CORE_LOGS_H */