JNGL
Easy to use cross-platform 2D game library
Loading...
Searching...
No Matches
message.hpp
Go to the documentation of this file.
1// Copyright 2015-2020 Jan Niklas Hasse <jhasse@bixense.com>
2// For conditions of distribution and use, see copyright notice in LICENSE.txt
4#pragma once
5
6#include <string>
7
8namespace jngl {
9
11void errorMessage(const std::string& text);
12
17void printMessage(const std::string& text);
18
19} // namespace jngl
JNGL's main namespace.
void printMessage(const std::string &text)
Prints text on stdout.
void errorMessage(const std::string &text)
Shows a message box with an error text.