AppleWin/source/frontends/qapple/options.h
Andrea Odetti bad18cafbf Rename configuration.* options.*
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-12-01 18:40:28 +00:00

32 lines
687 B
C++

#ifndef CONFIGURATION_H
#define CONFIGURATION_H
#include "preferences.h"
class GlobalOptions
{
public:
GlobalOptions(); // empty, uninitialised
static GlobalOptions fromQSettings();
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