diff options
Diffstat (limited to 'apps/plugins/text_viewer/tv_preferences.h')
-rw-r--r-- | apps/plugins/text_viewer/tv_preferences.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/text_viewer/tv_preferences.h b/apps/plugins/text_viewer/tv_preferences.h index bc871a7255..bb448b0f4b 100644 --- a/apps/plugins/text_viewer/tv_preferences.h +++ b/apps/plugins/text_viewer/tv_preferences.h | |||
@@ -104,6 +104,7 @@ struct tv_preferences { | |||
104 | * global pointer to the preferences (read-only) | 104 | * global pointer to the preferences (read-only) |
105 | */ | 105 | */ |
106 | extern const struct tv_preferences * const preferences; | 106 | extern const struct tv_preferences * const preferences; |
107 | extern bool preferences_changed; | ||
107 | 108 | ||
108 | /* | 109 | /* |
109 | * change the preferences | 110 | * change the preferences |
@@ -126,6 +127,15 @@ bool tv_set_preferences(const struct tv_preferences *new_prefs); | |||
126 | void tv_copy_preferences(struct tv_preferences *copy_prefs); | 127 | void tv_copy_preferences(struct tv_preferences *copy_prefs); |
127 | 128 | ||
128 | /* | 129 | /* |
130 | * compare the preferences structs (binary) | ||
131 | * | ||
132 | * return | ||
133 | * true differs | ||
134 | * false identical | ||
135 | */ | ||
136 | bool tv_compare_preferences(struct tv_preferences *copy_prefs); | ||
137 | |||
138 | /* | ||
129 | * set the default settings | 139 | * set the default settings |
130 | * | 140 | * |
131 | * [Out] p | 141 | * [Out] p |