VirtualC64 v5.0 beta
Commodore 64 Emulator
Loading...
Searching...
No Matches
SubComponent.h
1// -----------------------------------------------------------------------------
2// This file is part of VirtualC64
3//
4// Copyright (C) Dirk W. Hoffmann. www.dirkwhoffmann.de
5// This FILE is dual-licensed. You are free to choose between:
6//
7// - The GNU General Public License v3 (or any later version)
8// - The Mozilla Public License v2
9//
10// SPDX-License-Identifier: GPL-3.0-or-later OR MPL-2.0
11// -----------------------------------------------------------------------------
12
13#pragma once
14
15#include "CoreComponent.h"
16#include "CPUTypes.h"
17
18namespace vc64 {
19
20/* Base class for all subcomponents of the C64.
21 */
22class SubComponent : public CoreComponent, public References {
23
24public:
25
26 SubComponent(C64& ref);
27 SubComponent(C64& ref, isize id);
28
29 void prefix() const override;
30
31 void markAsDirty();
32};
33
34}
VirtualC64 project namespace.
Definition CmdQueue.cpp:16