69 lines
3.0 KiB
C
69 lines
3.0 KiB
C
// Copyright (c) 2026 Storm Dragon
|
|
// Authors: Storm Dragon, Angus Kola
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
#include <gtk/gtk.h>
|
|
int prefs_init(const char *xml);
|
|
void prefs_set_application(const char *name);
|
|
void prefs_iterate(void);
|
|
int prefs_action(void);
|
|
int prefs_voice_changed(void);
|
|
void prefs_busy(int busy, int can_save);
|
|
void prefs_present(void);
|
|
void prefs_close(void);
|
|
void prefs_status(const char *message, int focus);
|
|
void prefs_number_set(const char *id, double value, int use_default);
|
|
void prefs_voice_defaults(int kind);
|
|
double prefs_number_value(const char *id);
|
|
int prefs_default(const char *id);
|
|
void prefs_choice_set(const char *id, int value);
|
|
int prefs_choice_get(const char *id);
|
|
void prefs_hardware_devices_clear(void);
|
|
void prefs_hardware_device_append(const char *text);
|
|
void prefs_hardware_device_set(const char *text);
|
|
const char *prefs_hardware_device_get(void);
|
|
void prefs_hardware_sensitivity(int enabled);
|
|
void prefs_combo_set(const char *id, int value);
|
|
int prefs_combo_get(const char *id);
|
|
|
|
void prefs_check_set(const char *id, int value);
|
|
int prefs_check_get(const char *id);
|
|
void prefs_reading_set(const char *id, int value);
|
|
int prefs_reading_get(const char *id);
|
|
void prefs_range_set(const char *id, double value);
|
|
void prefs_spin_set(const char *id, double value);
|
|
double prefs_spin_get(const char *id);
|
|
void prefs_combo_clear(const char *id);
|
|
void prefs_combo_append(const char *id, const char *text);
|
|
void prefs_entry_set(const char *id, const char *text);
|
|
const char *prefs_entry_get(const char *id);
|
|
|
|
void prefs_bindings_clear(void);
|
|
void prefs_binding_append(const char *label, const char *scope, const char *keys, const char *defaults);
|
|
int prefs_binding_selected(void);
|
|
void prefs_binding_select(int row);
|
|
|
|
void prefs_modifier_set(const char *id, int enabled);
|
|
int prefs_modifier_get(const char *id);
|
|
void prefs_init_pronunciation(void);
|
|
void prefs_pronunciation_clear(void);
|
|
void prefs_pronunciation_append(const char *word, const char *replacement);
|
|
int prefs_pronunciation_count(void);
|
|
char *prefs_pronunciation_value(int row, int column);
|
|
void prefs_init_text_attributes(void);
|
|
void prefs_text_attributes_clear(void);
|
|
void prefs_text_attribute_append(const char *key, const char *label, int speak, int braille);
|
|
int prefs_text_attribute_count(void);
|
|
char *prefs_text_attribute_key(int row);
|
|
int prefs_text_attribute_enabled(int row, int column);
|
|
|
|
void prefs_tentacles_clear(void);
|
|
void prefs_tentacle_append(int enabled, const char *name, const char *state, const char *version, const char *repository, const char *message, const char *shortcuts);
|
|
int prefs_tentacle_selected(void);
|
|
void prefs_tentacle_select(int row);
|
|
void prefs_tentacle_controls(int available, int installed, int enabled, int repository);
|
|
int prefs_tentacle_confirm(const char *message, const char *label);
|
|
void prefs_tentacle_repositories_clear(void);
|
|
void prefs_tentacle_repository_append(const char *label);
|
|
int prefs_tentacle_repository_selected(void);
|
|
void prefs_tentacle_repository_select(int page);
|