/home/hal/workspace/HD Radio Controller/settings.cpp File Reference

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

Include dependency graph for settings.cpp:


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

Function Documentation

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  ) 


Variable Documentation

vector<noptions> opts


Generated on Tue Apr 1 01:04:00 2008 for HDRadioController by  doxygen 1.5.3