openMSX
VRAMObserver.hh
Go to the documentation of this file.
1#ifndef VRAMOBSERVER_HH
2#define VRAMOBSERVER_HH
3
4#include "EmuTime.hh"
5
6namespace openmsx {
7
12public:
21 virtual void updateVRAM(unsigned offset, EmuTime::param time) = 0;
22
36 virtual void updateWindow(bool enabled, EmuTime::param time) = 0;
37
38protected:
39 ~VRAMObserver() = default;
40};
41
42} // namespace openmsx
43
44#endif
Interface that can be registered at VRAMWindow, to be called when the contents of the VRAM inside tha...
virtual void updateVRAM(unsigned offset, EmuTime::param time)=0
Informs the observer of a change in VRAM contents.
virtual void updateWindow(bool enabled, EmuTime::param time)=0
Informs the observer that the entire VRAM window will change.
This file implemented 3 utility functions:
Definition Autofire.cc:11