Still not ideal as it is not straightforward to add options to places like the Video class. Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
15 lines
407 B
C++
15 lines
407 B
C++
#ifndef CONFIGURATION_H
|
|
#define CONFIGURATION_H
|
|
|
|
#include <memory>
|
|
|
|
#include "preferences.h"
|
|
|
|
class QGamepad;
|
|
|
|
QString getScreenshotTemplate();
|
|
Preferences::Data getCurrentOptions(const std::shared_ptr<QGamepad> & gamepad);
|
|
void setNewOptions(const Preferences::Data & currentOptions, const Preferences::Data & newOptions,
|
|
std::shared_ptr<QGamepad> & gamepad);
|
|
|
|
#endif // CONFIGURATION_H
|