diff options
author | Filiph Sandström <filiph.sandstrom@filfatstudios.com> | 2022-07-14 05:41:13 +0200 |
---|---|---|
committer | Andrew Kaster <andrewdkaster@gmail.com> | 2022-12-25 07:58:58 -0700 |
commit | a8380047257cb19885bf23ead9a0a92075d4cbce (patch) | |
tree | 1e995f0fd0df873d5ddcca9a530e19eed14519f0 /Ladybird/Settings.h | |
parent | 1b682e4b2c6737d114ae2115db58df75994ddd42 (diff) | |
download | serenity-a8380047257cb19885bf23ead9a0a92075d4cbce.zip |
Ladybird: Add Settings class
Diffstat (limited to 'Ladybird/Settings.h')
-rw-r--r-- | Ladybird/Settings.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Ladybird/Settings.h b/Ladybird/Settings.h new file mode 100644 index 0000000000..925c71ca80 --- /dev/null +++ b/Ladybird/Settings.h @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2022, Filiph Sandström <filiph.sandstrom@filfatstudios.com> + * + * SPDX-License-Identifier: BSD-2-Clause + */ + +#pragma once + +#define AK_DONT_REPLACE_STD + +#include <AK/String.h> +#include <QSettings> + +namespace Browser { + +class Settings { +public: + Settings(); + + QString homepage(); + void set_homepage(QString const& homepage); + +private: + QSettings* m_qsettings; +}; + +} |