1 #ifndef APPLICATION_CONFIGURATION_GROUP
2 #define APPLICATION_CONFIGURATION_GROUP
130 #if defined(__UNIX__) || defined(__GNU_WINDOWS__)
Provides a dynamically resizable ASCII character string.
Defines installation-specific locations in the file system.
static const basis::astring & LOGGING_FOLDER_NAME()
the tag used for finding our logging path in the paths config file.
static basis::astring get_logging_directory()
< retrieves the core binary directory location from paths.ini.
static basis::astring make_logfile_name(const basis::astring &base_name)
generates an installation appropriate log file name from "base_name".
static basis::astring query_for_process_info()
seeks out process info for a particular process.
static basis::astring application_name()
returns the full name of the current application.
static const basis::astring & virtual_unix_root()
returns the path to the unix root, which may be simulated.
static basis::un_int process_id()
returns the process id for this task, if that's relevant on the OS.
static const basis::astring & GLOBAL_SECTION_NAME()
the root section name for our configuration items in the main ini file.
static basis::astring current_directory()
returns the current directory as reported by the operating system.
static const basis::astring & DEFAULT_VIRTUAL_UNIX_ROOT()
default value if we don't find our setting for virtual root.
static basis::astring application_configuration_file()
the fully specified path to the main path configuration file.
static basis::astring application_directory()
returns the directory name where this application is running from.
static basis::astring get_cmdline_from_proc()
retrieves the command line from the /proc hierarchy on linux.
virtual ~application_configuration()
static const char * APPLICATION_CONFIGURATION_FILENAME()
< returns the top-level directory of this installation.
static const char * software_product_name()
This global function is available to the system at large for branding info.
static structures::version get_OS_version()
returns the operating system's version information.
static basis::astring read_item(const basis::astring &key_name)
returns the entry listed under the "key_name".
Holds a file's version identifier.
char * base_name(register char *file)
Constants and objects used throughout HOOPLE.
unsigned int un_int
Abbreviated name for unsigned integers.