ScummVM API documentation
plugin_info.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
//=============================================================================
23
//
24
// PluginInfo - a struct defining general information on game plugin.
25
//
26
//=============================================================================
27
28
#ifndef AGS_SHARED_GAME_PLUGIN_INFO_H
29
#define AGS_SHARED_GAME_PLUGIN_INFO_H
30
31
#include "common/std/memory.h"
32
#include "ags/shared/util/string.h"
33
34
// TODO: why 10 MB limit?
35
#define PLUGIN_SAVEBUFFERSIZE 10247680
36
37
namespace
AGS3
{
38
namespace
AGS
{
39
namespace
Shared {
40
41
struct
PluginInfo
{
42
// (File)name of plugin
43
String
Name;
44
// Custom data for plugin
45
std::vector<char>
Data;
46
size_t
DataLen;
47
48
PluginInfo
() : DataLen(0) {
49
}
50
};
51
52
}
// namespace Shared
53
}
// namespace AGS
54
}
// namespace AGS3
55
56
#endif
AGS
Definition:
achievements_tables.h:27
Std::vector< char >
AGS3::AGS::Shared::String
Definition:
string.h:62
AGS3::AGS::Shared::PluginInfo
Definition:
plugin_info.h:41
AGS3
Definition:
ags.h:40
engines
ags
shared
game
plugin_info.h
Generated on Sat Aug 31 2024 09:08:45 for ScummVM API documentation by
1.8.13