all repos — mgba @ 5c744a3f133da81e5d825760849b597596631f33

mGBA Game Boy Advance Emulator

src/platform/qt/Override.h (view raw)

 1/* Copyright (c) 2013-2016 Jeffrey Pfau
 2 *
 3 * This Source Code Form is subject to the terms of the Mozilla Public
 4 * License, v. 2.0. If a copy of the MPL was not distributed with this
 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 6#ifndef QGBA_OVERRIDE
 7#define QGBA_OVERRIDE
 8
 9struct Configuration;
10struct mCore;
11
12namespace QGBA {
13
14class Override {
15public:
16	virtual ~Override() {}
17
18	virtual void apply(struct mCore*) = 0;
19	virtual void identify(const struct mCore*) = 0;
20	virtual void save(struct Configuration*) const = 0;
21};
22
23}
24
25#endif