The Battle for Wesnoth
1.15.12+dev
gui
dialogs
addon
license_prompt.cpp
Go to the documentation of this file.
1
/*
2
Copyright (C) 2020 by Iris Morelle <shadowm@wesnoth.org>
3
Part of the Battle for Wesnoth Project https://www.wesnoth.org/
4
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation; either version 2 of the License, or
8
(at your option) any later version.
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY.
11
12
See the COPYING file for more details.
13
*/
14
15
#define GETTEXT_DOMAIN "wesnoth-lib"
16
17
#include "
gui/dialogs/addon/license_prompt.hpp
"
18
19
#include "
gettext.hpp
"
20
21
namespace
gui2::dialogs
22
{
23
REGISTER_DIALOG
(addon_license_prompt)
24
25
addon_license_prompt
::
addon_license_prompt
(const
std
::
string
& license_terms)
26
{
27
register_label(
"terms"
,
true
, license_terms,
true
);
28
}
29
30
}
// end namespace gui2::dialogs
REGISTER_DIALOG
#define REGISTER_DIALOG(window_id)
Wrapper for REGISTER_DIALOG2.
Definition:
modal_dialog.hpp:86
gettext.hpp
license_prompt.hpp
std
STL namespace.
gui2::dialogs
Definition:
addon_auth.cpp:24
gui2::dialogs::addon_license_prompt
Definition:
license_prompt.hpp:21
Generated by
1.8.13