Logo Search packages:      
Sourcecode: passepartout version File versions  Download package

PFile Class Reference

#include <config.h>

Inheritance diagram for PFile:

Config::File

List of all members.


Detailed Description

Passepartout-specific config file reader.

Definition at line 37 of file config.h.


Public Member Functions

void declare_var (Var *var)
void dialog_show ()
Gtk::Dialog & get_dialog ()
void read (const std::string &filename)
void read ()
 Read the config file.
void set_filename (std::string filename)
void write (const std::string &filename)

Public Attributes

FVar DefaultResolution
SVar DefaultStylesheet
SVar DocTemplatePath
BVar FakeTransparency
BVar Landscape
SVar LengthUnit
SVar PaperName
SVar PrintCommand
SVar PSInterpreter
SVar PSViewer
FVar ReshapeBoxSize
BVar SingleSided
FVar StartPage
SVar StylesheetPath
FVar ZoomLevel

Static Public Attributes

static PFile instance = PFile()
 The global instance.

Protected Member Functions

void dialog_done ()
void error (const std::string &message)

Protected Attributes

Gtk::Dialog * dialog
bool first_error
std::string global_file
bool ignore_unknown
std::string user_file
Vars vars

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index