AppleWin/source/frontends/qapple/configuration.h
Andrea Odetti 256815eff9 Rationalise QApple options.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-24 19:30:34 +00:00

30 lines
649 B
C++

#ifndef CONFIGURATION_H
#define CONFIGURATION_H
#include "preferences.h"
class GlobalOptions
{
public:
GlobalOptions(); // initialise from QSettings
QString screenshotTemplate;
QString gamepadName;
int slot0Card;
int ramWorksMemorySize;
int msGap;
int msFullSpeed;
int audioLatency;
int silenceDelay;
int volume;
void getData(Preferences::Data & data) const;
void setData(const Preferences::Data & data);
};
void getAppleWinPreferences(Preferences::Data & data);
void setAppleWinPreferences(const Preferences::Data & currentData, const Preferences::Data & newData);
#endif // CONFIGURATION_H