JNGL
Easy to use cross-platform 2D game library
Loading...
Searching...
No Matches
jngl
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
8
namespace
jngl
{
9
11
void
errorMessage
(
const
std::string
& text);
12
17
void
printMessage
(
const
std::string
& text);
18
19
}
// namespace jngl
std::string
jngl
JNGL's main namespace.
Definition
Achievement.hpp:10
jngl::printMessage
void printMessage(const std::string &text)
Prints text on stdout.
jngl::errorMessage
void errorMessage(const std::string &text)
Shows a message box with an error text.
string