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  ) 

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

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

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

YCPMap PPDfile::ppdInfo ( const char *  filename  ) 

Get the info about PPD file

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

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

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


The documentation for this class was generated from the following files:
Generated on Tue Nov 28 18:14:51 2006 for yast2-printer by  doxygen 1.5.0