ManaPlus
src
gui
setupactiondata.h
Go to the documentation of this file.
1
/*
2
* The ManaPlus Client
3
* Copyright (C) 2007 Joshua Langley <
[email protected]
>
4
* Copyright (C) 2009 The Mana World Development Team
5
* Copyright (C) 2009-2010 The Mana Developers
6
* Copyright (C) 2011-2019 The ManaPlus Developers
7
* Copyright (C) 2019-2021 Andrei Karas
8
*
9
* This file is part of The ManaPlus Client.
10
*
11
* This program is free software; you can redistribute it and/or modify
12
* it under the terms of the GNU General Public License as published by
13
* the Free Software Foundation; either version 2 of the License, or
14
* any later version.
15
*
16
* This program is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU General Public License for more details.
20
*
21
* You should have received a copy of the GNU General Public License
22
* along with this program. If not, see <http://www.gnu.org/licenses/>.
23
*/
24
25
#ifndef GUI_SETUPACTIONDATA_H
26
#define GUI_SETUPACTIONDATA_H
27
28
#include "
enums/input/inputaction.h
"
29
30
#include <string>
31
32
#include "
localconsts.h
"
33
34
struct
SetupActionData
final
35
{
36
#ifdef ADVGCC
37
SetupActionData
(
const
std::string &name0,
38
const
InputActionT
actionId0,
39
const
std::string &text0) :
40
name
(name0),
41
actionId
(actionId0),
42
text
(text0)
43
{ }
44
45
A_DELETE_COPY
(
SetupActionData
)
46
#endif
// ADVGCC
47
48
std::string
name
;
49
const
InputActionT
actionId
;
50
std::string
text
;
51
};
52
53
#endif
// GUI_SETUPACTIONDATA_H
inputaction.h
InputActionT
InputAction ::T InputActionT
Definition:
inputaction.h:717
localconsts.h
final
#define final
Definition:
localconsts.h:46
A_DELETE_COPY
#define A_DELETE_COPY(func)
Definition:
localconsts.h:53
SetupActionData
Definition:
setupactiondata.h:35
SetupActionData::name
std::string name
Definition:
setupactiondata.h:48
SetupActionData::text
std::string text
Definition:
setupactiondata.h:50
SetupActionData::actionId
const InputActionT actionId
Definition:
setupactiondata.h:49
Generated on Wed Mar 17 2021 19:19:06 for ManaPlus by
1.9.1