Something went wrong. Try again.
A fork of https://github.com/crosspoint-reader/crosspoint-reader
Something went wrong. Try again.
1.2 kB · 36 lines
C
at master
12345678910111213141516171819202122232425262728293031323334353637#pragma once
class CrossPointSettings;class CrossPointState;class WifiCredentialStore;class KOReaderCredentialStore;class RecentBooksStore;class OpdsServerStore;
namespace JsonSettingsIO {
// CrossPointSettingsbool saveSettings(const CrossPointSettings& s, const char* path);bool loadSettings(CrossPointSettings& s, const char* json, bool* needsResave = nullptr);
// CrossPointStatebool saveState(const CrossPointState& s, const char* path);bool loadState(CrossPointState& s, const char* json);
// WifiCredentialStorebool saveWifi(const WifiCredentialStore& store, const char* path);bool loadWifi(WifiCredentialStore& store, const char* json, bool* needsResave = nullptr);
// KOReaderCredentialStorebool saveKOReader(const KOReaderCredentialStore& store, const char* path);bool loadKOReader(KOReaderCredentialStore& store, const char* json, bool* needsResave = nullptr);
// RecentBooksStorebool saveRecentBooks(const RecentBooksStore& store, const char* path);bool loadRecentBooks(RecentBooksStore& store, const char* json);
// OpdsServerStorebool saveOpds(const OpdsServerStore& store, const char* path);bool loadOpds(OpdsServerStore& store, const char* json, bool* needsResave = nullptr);
} // namespace JsonSettingsIO