diff options
Diffstat (limited to 'sid/sidplay-libs-2.1.0/libsidplay/include/sidplay/component.h')
-rw-r--r-- | sid/sidplay-libs-2.1.0/libsidplay/include/sidplay/component.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sid/sidplay-libs-2.1.0/libsidplay/include/sidplay/component.h b/sid/sidplay-libs-2.1.0/libsidplay/include/sidplay/component.h new file mode 100644 index 00000000..ee8a76c1 --- /dev/null +++ b/sid/sidplay-libs-2.1.0/libsidplay/include/sidplay/component.h @@ -0,0 +1,33 @@ +/*************************************************************************** + component.h - Standard IC interface functions. + ------------------- + begin : Fri Apr 4 2001 + copyright : (C) 2001 by Simon White + email : s_a_white@email.com + ***************************************************************************/ + +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + +#ifndef _component_h_ +#define _component_h_ + +#include "sidtypes.h" + +class component +{ +public: + virtual void reset (void) = 0; + virtual uint8_t read (uint_least8_t addr) = 0; + virtual void write (uint_least8_t addr, uint8_t data) = 0; + virtual const char *credits (void) = 0; + virtual const char *error (void) = 0; +}; + +#endif // _component_h_ |