Kitlist  1.1.0
Variables
yamlconfig.cpp File Reference
#include "yamlconfig.hpp"
#include <config.h>
#include <glibmm/miscutils.h>
#include <fstream>
#include <iostream>
#include <yaml-cpp/yaml.h>

Go to the source code of this file.

Variables

const std::string CONFIG_FILENAME = "/kitlist"
 The filename used to store the application's configuration. More...
 
const std::string PAGE_TITLE_CONFIG_KEY = "Printed page title"
 The key used to store the value of the page title in the configuration file. More...
 
const std::string CURRENT_FILENAME_CONFIG_KEY = "current filename"
 The key used to store the value of the current filename in the configuration file. More...
 
const std::string RECENT_FILES_CONFIG_KEY = "file history list"
 The key used to store the value of the current filename in the configuration file. More...
 
const std::string MAX_RECENT_FILES_CONFIG_KEY = "max recent files"
 The key for the maximum number of files to maintain in the recent files menu. More...
 
const std::string DEBUG_LOG_FILENAME_CONFIG_KEY = "debug_log_filename"
 GConf entry for the page title. More...
 

Variable Documentation

◆ CONFIG_FILENAME

const std::string CONFIG_FILENAME = "/kitlist"

The filename used to store the application's configuration.

Definition at line 34 of file yamlconfig.cpp.

Referenced by YamlConfig::get_config_filename().

◆ CURRENT_FILENAME_CONFIG_KEY

const std::string CURRENT_FILENAME_CONFIG_KEY = "current filename"

The key used to store the value of the current filename in the configuration file.

Definition at line 40 of file yamlconfig.cpp.

Referenced by YamlConfig::load(), and YamlConfig::save().

◆ DEBUG_LOG_FILENAME_CONFIG_KEY

const std::string DEBUG_LOG_FILENAME_CONFIG_KEY = "debug_log_filename"

GConf entry for the page title.

Definition at line 49 of file yamlconfig.cpp.

Referenced by YamlConfig::load(), and YamlConfig::save().

◆ MAX_RECENT_FILES_CONFIG_KEY

const std::string MAX_RECENT_FILES_CONFIG_KEY = "max recent files"

The key for the maximum number of files to maintain in the recent files menu.

Definition at line 46 of file yamlconfig.cpp.

Referenced by YamlConfig::load(), and YamlConfig::save().

◆ PAGE_TITLE_CONFIG_KEY

const std::string PAGE_TITLE_CONFIG_KEY = "Printed page title"

The key used to store the value of the page title in the configuration file.

Definition at line 37 of file yamlconfig.cpp.

Referenced by YamlConfig::load(), and YamlConfig::save().

◆ RECENT_FILES_CONFIG_KEY

const std::string RECENT_FILES_CONFIG_KEY = "file history list"

The key used to store the value of the current filename in the configuration file.

Definition at line 43 of file yamlconfig.cpp.

Referenced by YamlConfig::load(), and YamlConfig::save().


Copyright 2008-2021 Frank Dean