#include <string.h>#include <stdio.h>#include <fstream>#include <iostream>#include <vector>#include "settings.h"

Functions | |
| void | rtrim (string *s) |
| void | ltrim (string *s) |
| void | trim (string *s) |
| bool | file_exists (const char *path) |
| string | get_home_dir () |
| string | get_config_file_dir (string app, string fn) |
| string | get_skin_dir (string SKINDIR) |
| string | getOption (string option) |
| void | setOption (string option, string val) |
| int | readOptions (std::string filename) |
| int | writeOptions (std::string filename) |
Variables | |
| vector< noptions > | opts |
| bool file_exists | ( | const char * | path | ) |
| string get_config_file_dir | ( | string | app, | |
| string | fn | |||
| ) |
| string get_home_dir | ( | ) |
| string get_skin_dir | ( | string | SKINDIR | ) |
| string getOption | ( | string | option | ) |
| void ltrim | ( | string * | s | ) |
| int readOptions | ( | std::string | filename | ) |
| void rtrim | ( | string * | s | ) |
| void setOption | ( | string | option, | |
| string | val | |||
| ) |
| void trim | ( | string * | s | ) |
| int writeOptions | ( | std::string | filename | ) |
| vector<noptions> opts |
1.5.3