ScummVM API documentation
dialogs_query.h
1
/* ScummVM - Graphic Adventure Engine
2
*
3
* ScummVM is the legal property of its developers, whose names
4
* are too numerous to list here. Please refer to the COPYRIGHT
5
* file distributed with this source distribution.
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 3 of the License, or
10
* (at your option) 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
22
#ifndef XEEN_DIALOGS_QUERY_H
23
#define XEEN_DIALOGS_QUERY_H
24
25
#include "mm/xeen/dialogs/dialogs.h"
26
27
namespace
MM
{
28
namespace
Xeen {
29
30
class
Confirm
:
public
ButtonContainer
{
31
private
:
32
Confirm
(
XeenEngine
*vm) :
ButtonContainer
(vm) {}
33
34
bool
execute(
const
Common::String
&msg,
int
mode);
35
public
:
36
static
bool
show(
XeenEngine
*vm,
const
Common::String
&msg,
int
mode = 0);
37
};
38
39
class
YesNo
:
public
ButtonContainer
{
40
private
:
41
YesNo
(
XeenEngine
*vm) :
ButtonContainer
(vm) {}
42
43
bool
execute(
bool
type,
bool
townFlag);
44
public
:
45
static
bool
show(
XeenEngine
*vm,
bool
type,
bool
townFlag =
false
);
46
};
47
48
}
// End of namespace Xeen
49
}
// End of namespace MM
50
51
#endif
Common::String
Definition:
str.h:59
MM::Xeen::XeenEngine
Definition:
xeen.h:93
MM
Definition:
detection.h:27
MM::Xeen::ButtonContainer
Definition:
dialogs.h:74
MM::Xeen::YesNo
Definition:
dialogs_query.h:39
MM::Xeen::Confirm
Definition:
dialogs_query.h:30
engines
mm
xeen
dialogs
dialogs_query.h
Generated on Mon Dec 23 2024 09:15:40 for ScummVM API documentation by
1.8.13