mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-21 07:17:41 +00:00
Pravets refactor: move all specialisations into new Pravets class. (PR #914)
Mainly for keyboard & printer specialisations.
This commit is contained in:
@@ -35,6 +35,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#include "Log.h"
|
||||
#include "Memory.h"
|
||||
#include "Mockingboard.h"
|
||||
#include "Pravets.h"
|
||||
#include "Speaker.h"
|
||||
#include "Registry.h"
|
||||
#include "SynchronousEventManager.h"
|
||||
@@ -295,3 +296,9 @@ bool SetCurrentImageDir(const std::string& pszImageDir)
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Pravets& GetPravets(void)
|
||||
{
|
||||
static Pravets pravets;
|
||||
return pravets;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user