libsidplayfp 1.8.8
SidInfo.h
1/*
2 * This file is part of libsidplayfp, a SID player engine.
3 *
4 * Copyright 2011-2012 Leandro Nini
5 * Copyright 2007-2010 Antti Lankila
6 * Copyright 2000 Simon White
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 */
22
23#ifndef SIDINFO_H
24#define SIDINFO_H
25
26#include <stdint.h>
27
32{
33public:
35 virtual const char *name() const =0;
36
38 virtual const char *version() const =0;
39
41
42 virtual unsigned int numberOfCredits() const =0;
43 virtual const char *credits(unsigned int i) const =0;
45
47 virtual unsigned int maxsids() const =0;
48
50 virtual unsigned int channels() const =0;
51
53 virtual uint_least16_t driverAddr() const =0;
54
56 virtual uint_least16_t driverLength() const =0;
57
59 virtual uint_least16_t powerOnDelay() const =0;
60
62 virtual const char *speedString() const =0;
63
65
66 virtual const char *kernalDesc() const =0;
67 virtual const char *basicDesc() const =0;
68 virtual const char *chargenDesc() const =0;
70
71protected:
72 ~SidInfo() {}
73};
74
75#endif /* SIDINFO_H */
Definition: SidInfo.h:32
virtual const char * kernalDesc() const =0
Description of the laoded ROM images.
virtual uint_least16_t driverLength() const =0
Size of the driver in bytes.
virtual uint_least16_t powerOnDelay() const =0
Power on delay.
virtual unsigned int numberOfCredits() const =0
Library credits.
virtual unsigned int maxsids() const =0
Number of SIDs supported by this library.
virtual const char * version() const =0
Library version.
virtual unsigned int channels() const =0
Number of output channels (1-mono, 2-stereo)
virtual const char * speedString() const =0
Describes the speed current song is running at.
virtual const char * name() const =0
Library name.
virtual uint_least16_t driverAddr() const =0
Address of the driver.