ManaPlus
src
resources
beingmenuitem.h
Go to the documentation of this file.
1
/*
2
* The ManaPlus Client
3
* Copyright (C) 2012-2019 The ManaPlus Developers
4
*
5
* This file is part of The ManaPlus Client.
6
*
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* any later version.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <http://www.gnu.org/licenses/>.
19
*/
20
21
#ifndef RESOURCES_BEINGMENUITEM_H
22
#define RESOURCES_BEINGMENUITEM_H
23
24
#include <string>
25
26
#include "
localconsts.h
"
27
28
struct
BeingMenuItem
final
29
{
30
BeingMenuItem
(
const
std::string &name0,
31
const
std::string &command0) :
32
name
(name0),
33
command
(command0)
34
{
35
}
36
37
A_DEFAULT_COPY
(
BeingMenuItem
)
38
39
std
::
string
name
;
40
std
::
string
command
;
41
};
42
43
#endif // RESOURCES_BEINGMENUITEM_H
BeingMenuItem::name
std::string name
Definition:
beingmenuitem.h:39
BeingMenuItem
Definition:
beingmenuitem.h:28
BeingMenuItem::BeingMenuItem
BeingMenuItem(const std::string &name0, const std::string &command0)
Definition:
beingmenuitem.h:30
localconsts.h
A_DEFAULT_COPY
#define A_DEFAULT_COPY(func)
Definition:
localconsts.h:40
final
#define final
Definition:
localconsts.h:45
std
Definition:
mseprimitives.h:398
BeingMenuItem::command
std::string command
Definition:
beingmenuitem.h:40
Generated on Thu Jun 4 2020 11:57:59 for ManaPlus by
1.8.17