ScummVM API documentation
gfx_mode_list.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 // Supported graphics mode interface
25 //
26 //=============================================================================
27 
28 #ifndef AGS_ENGINE_GFX__GFXMODELIST_H
29 #define AGS_ENGINE_GFX__GFXMODELIST_H
30 
31 #include "ags/shared/core/types.h"
32 #include "ags/engine/gfx/gfx_defines.h"
33 
34 namespace AGS3 {
35 namespace AGS {
36 namespace Engine {
37 
38 class IGfxModeList {
39 public:
40  virtual ~IGfxModeList() {}
41  virtual int GetModeCount() const = 0;
42  virtual bool GetMode(int index, DisplayMode &mode) const = 0;
43 };
44 
45 } // namespace Engine
46 } // namespace AGS
47 } // namespace AGS3
48 
49 #endif
Definition: achievements_tables.h:27
Definition: gfx_defines.h:60
Definition: gfx_mode_list.h:38
Definition: engine.h:143
Definition: ags.h:40