morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
preference_sync.hpp File Reference

PreferenceSync: the client side of the preferences model. It loads a mounted screen's stored choices into Screen::setPreference, and writes what InterpreterHost::preferenceChanged and resetPrefs report. More...

#include <cstddef>
#include <exception>
#include <expected>
#include <functional>
#include <map>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "../core/callback_scope.hpp"
#include "../core/completion.hpp"
#include "document.hpp"
#include "interpreter.hpp"
#include "preferences.hpp"
#include "value.hpp"

Go to the source code of this file.

Classes

struct  morph::ui::PreferencesLoaded
 What loading a screen's choices did. More...
class  morph::ui::PreferenceSync
 Talks to the server's preferences model (morph.preferences) for one application, through the interpreter's Dispatcher. More...

Detailed Description

PreferenceSync: the client side of the preferences model. It loads a mounted screen's stored choices into Screen::setPreference, and writes what InterpreterHost::preferenceChanged and resetPrefs report.

Specified in docs/spec/ui/preferences.md.

Definition in file preference_sync.hpp.