#include <PPDfile.h>
Public Member Functions | |
| PPDfile () | |
| ~PPDfile () | |
| YCPMap | getOptionsGroups (YCPString filename) |
| YCPMap | getOptions (YCPString filename, YCPString section) |
| YCPString | openPpdFile (YCPString filename, YCPString tmpdir) |
| YCPBoolean | isPpd (const char *filename) |
| YCPMap | ppdInfo (const char *filename) |
| YCPList | ppdConstraints (YCPString filename) |
| YCPList | ppdFailedConstraints (YCPString filename, YCPMap options) |
| PPDfile::PPDfile | ( | ) |
Constructor
| PPDfile::~PPDfile | ( | ) |
Destructor
| YCPBoolean PPDfile::isPpd | ( | const char * | filename | ) |
Check whether file is PPD file (try to open it using CUPS library calls)
| filename | file to check |
References unpackGzipped().
Referenced by PPDAgent::Read().
| YCPMap PPDfile::ppdInfo | ( | const char * | filename | ) |
Get the info about PPD file
| filename | file to check |
References YCPMap::add(), PPD::PPDInfo::filter, PPD::PPDInfo::lang, PPD::PPDInfo::nick, PPD::PPDInfo::printer, PPD::PPDInfo::printer_db, PPD::process_file(), PPD::PPDInfo::products, PPD::PPDInfo::vendor, PPD::PPDInfo::vendor_db, and y2error.
Referenced by PPDAgent::Read().
Get UI constraints of a PPD file
| filename | of the PPD file |
References YCPList::add(), YCPMap::add(), and y2error.
Referenced by PPDAgent::Read().
Get the list of constrainting options
| filename | of the PPD file | |
| options | map of options to mark |
References YCPList::add(), YCPMap::begin(), YCPMap::end(), key, and y2error.
Referenced by PPDAgent::Read().
1.5.5