PPDfile Class Reference

#include <PPDfile.h>

List of all members.

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)


Constructor & Destructor Documentation

PPDfile::PPDfile (  ) 

Constructor

PPDfile::~PPDfile (  ) 

Destructor


Member Function Documentation

YCPMap PPDfile::getOptionsGroups ( YCPString  filename  ) 

References YCPMap::add(), YCPList::add(), and y2error.

Referenced by PPDAgent::Read().

YCPMap PPDfile::getOptions ( YCPString  filename,
YCPString  section 
)

References YCPMap::add(), YCPList::add(), val, and y2error.

Referenced by PPDAgent::Read().

YCPString PPDfile::openPpdFile ( YCPString  filename,
YCPString  tmpdir 
)

References unpackGzipped(), and y2error.

Referenced by PPDAgent::Read().

YCPBoolean PPDfile::isPpd ( const char *  filename  ) 

Check whether file is PPD file (try to open it using CUPS library calls)

Parameters:
filename file to check
Returns:
true if is PPD file

References unpackGzipped().

Referenced by PPDAgent::Read().

YCPMap PPDfile::ppdInfo ( const char *  filename  ) 

YCPList PPDfile::ppdConstraints ( YCPString  filename  ) 

Get UI constraints of a PPD file

Parameters:
filename of the PPD file
Returns:
list of all constraints of the PPD file

References YCPList::add(), YCPMap::add(), and y2error.

Referenced by PPDAgent::Read().

YCPList PPDfile::ppdFailedConstraints ( YCPString  filename,
YCPMap  options 
)

Get the list of constrainting options

Parameters:
filename of the PPD file
options map of options to mark
Returns:
list of all constrainting options in the PPD file

References YCPList::add(), YCPMap::begin(), YCPMap::end(), key, and y2error.

Referenced by PPDAgent::Read().


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

Generated on Sat Jun 7 07:13:29 2008 for yast2-printer by  doxygen 1.5.5