Pith - whittle
whittle/src/core/ConfigStore.h [0.6 kb]
Modified: 20:17:01 158 026 (24 Aug 026)
5 Days Ago
#pragma once
#include "core/FilterSettings.h"
#include <QString>
#include <QStringList>

namespace whittle {

namespace ConfigStore {

struct Scheme {
    QStringList roots;
    QStringList excluded;
    bool recursive = true;
};

QString configDir();

FilterSettings loadFilter();
bool saveFilter(const FilterSettings&);

QString loadLastSchemeName();
bool saveLastSchemeName(const QString& name);

QStringList schemeNames();
bool hasScheme(const QString& name);
bool saveScheme(const QString& name, const Scheme&);
Scheme loadScheme(const QString& name, bool* found = nullptr);

bool deleteScheme(const QString& name);

} 
} 
Updates
Stave - Android 158.026
Kerf - Android 157.026
Kiln - Android 157.026
Wedge - Android 156.026
Whittle - Linux 155.026

Menu
Calendar
Project Tin (024/029)
Miter
RSS Feed
User Avatar
@vgmlr
=SUM(parts)
0.00205
260,140 (+554)