aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/java/dev/msfjarvis/aps/ui/settings/SettingsProvider.kt
blob: 3599703e003c83414bdb608c780da8f0af140dcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
 * SPDX-License-Identifier: GPL-3.0-only
 */

package dev.msfjarvis.aps.ui.settings

import de.Maxr1998.modernpreferences.PreferenceScreen

/**
 * Used to generate a uniform API for all settings UI classes.
 */
interface SettingsProvider {

    /**
     * Inserts the settings items for the class into the given [builder].
     */
    fun provideSettings(builder: PreferenceScreen.Builder)
}