30 #include "sidplayfp/SidInfo.h"
39 # define PACKAGE_NAME PACKAGE
42 #ifndef PACKAGE_VERSION
43 # define PACKAGE_VERSION VERSION
52 const std::string m_name;
53 const std::string m_version;
54 std::vector<std::string> m_credits;
56 std::string m_speedString;
58 std::string m_kernalDesc;
59 std::string m_basicDesc;
60 std::string m_chargenDesc;
62 const unsigned int m_maxsids;
64 unsigned int m_channels;
66 uint_least16_t m_driverAddr;
67 uint_least16_t m_driverLength;
69 uint_least16_t m_powerOnDelay;
78 m_version(PACKAGE_VERSION),
85 m_credits.push_back(PACKAGE_NAME
" V" PACKAGE_VERSION
" Engine:\n"
86 "\tCopyright (C) 2000 Simon White\n"
87 "\tCopyright (C) 2007-2010 Antti Lankila\n"
88 "\tCopyright (C) 2010-2013 Leandro Nini\n"
89 "\t" PACKAGE_URL
"\n");
92 const char *
name()
const {
return m_name.c_str(); }
93 const char *
version()
const {
return m_version.c_str(); }
96 const char *
credits(
unsigned int i)
const {
return i<m_credits.size()?m_credits[i].c_str():
""; }
98 unsigned int maxsids()
const {
return m_maxsids; }
100 unsigned int channels()
const {
return m_channels; }
109 const char *
kernalDesc()
const {
return m_kernalDesc.c_str(); }
110 const char *
basicDesc()
const {
return m_basicDesc.c_str(); }
unsigned int channels() const
Number of output channels (1-mono, 2-stereo)
Definition: SidInfoImpl.h:100
const char * version() const
Library version.
Definition: SidInfoImpl.h:93
const char * credits(unsigned int i) const
Library credits.
Definition: SidInfoImpl.h:96
Definition: SidInfoImpl.h:49
const char * kernalDesc() const
Description of the laoded ROM images.
Definition: SidInfoImpl.h:109
static const unsigned int MAX_SIDS
Definition: c64.h:69
const char * basicDesc() const
Description of the laoded ROM images.
Definition: SidInfoImpl.h:110
unsigned int maxsids() const
Number of SIDs supported by this library.
Definition: SidInfoImpl.h:98
const char * speedString() const
Describes the speed current song is running at.
Definition: SidInfoImpl.h:107
const char * name() const
Library name.
Definition: SidInfoImpl.h:92
uint_least16_t driverAddr() const
Address of the driver.
Definition: SidInfoImpl.h:102
uint_least16_t driverLength() const
Size of the driver in bytes.
Definition: SidInfoImpl.h:103
const char * chargenDesc() const
Description of the laoded ROM images.
Definition: SidInfoImpl.h:111
unsigned int numberOfCredits() const
Library credits.
Definition: SidInfoImpl.h:95
uint_least16_t powerOnDelay() const
Power on delay.
Definition: SidInfoImpl.h:105