Dillo v3.1.1-91-g6d5b3ee3
Loading...
Searching...
No Matches
prefsparser.cc File Reference

Preferences parser. More...

#include <sys/types.h>
#include <stdlib.h>
#include <locale.h>
#include <math.h>
#include <limits.h>
#include "prefs.h"
#include "misc.h"
#include "msg.h"
#include "colors.h"
#include "prefsparser.hh"
Include dependency graph for prefsparser.cc:

Go to the source code of this file.

Enumerations

enum  PrefType_t {
  PREFS_BOOL , PREFS_COLOR , PREFS_STRING , PREFS_STRINGS ,
  PREFS_URL , PREFS_INT32 , PREFS_DOUBLE , PREFS_FRACTION_100 ,
  PREFS_GEOMETRY , PREFS_PANEL_SIZE
}
 

Functions

static int parseOption (char *name, char *value, SymNode_t *symbols, int n_symbols)
 Parse a name/value pair and set preferences accordingly.
 

Detailed Description

Preferences parser.

Definition in file prefsparser.cc.

Enumeration Type Documentation

◆ PrefType_t

enum PrefType_t
Enumerator
PREFS_BOOL 
PREFS_COLOR 
PREFS_STRING 
PREFS_STRINGS 
PREFS_URL 
PREFS_INT32 
PREFS_DOUBLE 
PREFS_FRACTION_100 
PREFS_GEOMETRY 
PREFS_PANEL_SIZE 

Definition at line 31 of file prefsparser.cc.

Function Documentation

◆ parseOption()