libsidplayfp  2.0.2
exsid.h
1 /***************************************************************************
2  exsid.h - exSID support interface.
3  -------------------
4  Based on hardsid.h (C) 2000-2002 Simon White
5 
6  copyright : (C) 2015 Thibaut VARENE
7  ***************************************************************************/
8 /***************************************************************************
9  * *
10  * This program is free software; you can redistribute it and/or modify *
11  * it under the terms of the GNU General Public License version 2 as *
12  * published by the Free Software Foundation. *
13  * *
14  ***************************************************************************/
15 
16 #ifndef EXSID_H
17 #define EXSID_H
18 
19 #include "sidplayfp/sidbuilder.h"
20 #include "sidplayfp/siddefs.h"
21 
22 class SID_EXTERN exSIDBuilder : public sidbuilder
23 {
24 private:
25  static bool m_initialised;
26 
27  static unsigned int m_count;
28 
29 public:
30  exSIDBuilder(const char * const name);
31  ~exSIDBuilder();
32 
38  unsigned int availDevices() const;
39 
40  const char *credits() const;
41  void flush();
42 
46  void filter(bool enable);
47 
53  unsigned int create(unsigned int sids);
54 };
55 
56 #endif // EXSID_H
sidbuilder::availDevices
virtual unsigned int availDevices() const =0
sidbuilder
Definition: sidbuilder.h:41
sidbuilder::create
virtual unsigned int create(unsigned int sids)=0
exSIDBuilder
Definition: exsid.h:23
sidbuilder::filter
virtual void filter(bool enable)=0
sidbuilder::credits
virtual const char * credits() const =0