mirror of https://github.com/cutefishos/settings
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
367 B
C
21 lines
367 B
C
|
5 years ago
|
/*
|
||
|
|
SPDX-FileCopyrightText: 2018 Roman Gilg <subdiff@gmail.com>
|
||
|
|
|
||
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
||
|
|
*/
|
||
|
|
|
||
|
|
#ifndef LIBINPUTSETTINGS_H
|
||
|
|
#define LIBINPUTSETTINGS_H
|
||
|
|
|
||
|
|
#include <QString>
|
||
|
|
|
||
|
|
struct LibinputSettings {
|
||
|
|
template<class T>
|
||
|
|
T load(QString key, T defVal);
|
||
|
|
|
||
|
|
template<class T>
|
||
|
|
void save(QString key, T val);
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif // LIBINPUTSETTINGS_H
|