#include <prefs.h>
|  | 
|  | Prefs (bool autowrite=true, bool writealways=true) | 
|  | 
|  | ~Prefs () | 
|  | 
| bool | read () | 
|  | 
| bool | write () | 
|  | 
| bool | set (const std::string &key, const std::string &value) | 
|  | 
| bool | set (const std::string &key, int value) | 
|  | 
| bool | set (const std::string &key, bool value) | 
|  | 
| std::string | getStr (const std::string &key) const | 
|  | 
| std::string | getPath (const std::string &key) const | 
|  | 
| int | getNum (const std::string &key) const | 
|  | 
| bool | getBool (const std::string &key) const | 
|  | 
      
        
          | Prefs | ( | bool | autowrite = true, | 
        
          |  |  | bool | writealways = true | 
        
          |  | ) |  |  | 
      
 
References AMSROM, CPCROM, DATADIR, delim(), DISKDIR, mAutoWrite, mFilename, mNothing, mPrefs, mWriteAlways, NAME_MAX, PACKAGE_NAME, read(), and ROMDIR.
 
 
      
        
          | bool getBool | ( | const std::string & | key | ) | const | 
      
 
 
      
        
          | int getNum | ( | const std::string & | key | ) | const | 
      
 
 
      
        
          | std::string getPath | ( | const std::string & | key | ) | const | 
      
 
 
      
        
          | std::string getStr | ( | const std::string & | key | ) | const | 
      
 
 
      
        
          | bool set | ( | const std::string & | key, | 
        
          |  |  | const std::string & | value | 
        
          |  | ) |  |  | 
      
 
 
      
        
          | bool set | ( | const std::string & | key, | 
        
          |  |  | int | value | 
        
          |  | ) |  |  | 
      
 
 
      
        
          | bool set | ( | const std::string & | key, | 
        
          |  |  | bool | value | 
        
          |  | ) |  |  | 
      
 
 
  
  | 
        
          | std::array<std::pair<std::string, std::string>, 23 > mPrefs |  | private | 
 
 
The documentation for this class was generated from the following files: