23 #define YAML_CONFIG_H 1 25 #include <glibmm/i18n.h> 26 #include <glibmm/ustring.h> 124 #endif // YAML_CONFIG_H Glib::ustring m_debug_log_filename
The name of the log file to write debug information to.
Glib::ustring get_debug_log_filename()
the name of the debug log file.
Glib::ustring get_config_filename()
Glib::ustring m_current_filename
The current filename.
Maintains the application's configuration parameters in a YAML formatted file.
void add_recent_filename(Glib::ustring filename)
Adds a filename to the list of recently used filenames.
std::deque< Glib::ustring > m_mru_file_history
The history list of most recently used filenames.
Glib::ustring get_current_filename()
The current filename.
void set_current_filename(Glib::ustring filename)
Sets the current filename.
gint m_max_recent_files
The list of recently used files for the recent files menu.
const std::string DEFAULT_PAGE_TITLE
The default page title for printing.
Glib::ustring get_page_title()
The page title to use for printing or creating a PDF.
void set_page_title(Glib::ustring title)
Set the page title.
const gint DEFAULT_MAX_RECENT_FILES
The maximum number of recent files to maintain.
void load()
Loads the configuration file.
std::deque< Glib::ustring > get_recent_filenames()
The history list of recent filenames.
~YamlConfig()
Also saves the configuration on program exit.
Glib::ustring m_page_title
The title to use when printing a page or creating a PDF.
void save()
Saves the current configuration.