Only update gamepad mappings if they're newer than what we already have
This commit is contained in:
parent
ae5df938b6
commit
861ebc151a
3 changed files with 52 additions and 9 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <QString>
|
||||
#include <QFileInfo>
|
||||
|
||||
class Path
|
||||
{
|
||||
|
|
@ -10,7 +11,9 @@ public:
|
|||
static QString getBoxArtCacheDir();
|
||||
|
||||
static QByteArray readDataFile(QString fileName);
|
||||
static void writeDataFile(QString fileName, QByteArray data);
|
||||
static void writeCacheFile(QString fileName, QByteArray data);
|
||||
static void deleteCacheFile(QString fileName);
|
||||
static QFileInfo getCacheFileInfo(QString fileName);
|
||||
|
||||
// Only safe to use directly for Qt classes
|
||||
static QString getDataFilePath(QString fileName);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue