CupsAgent Class Reference

An interface class between YaST2 and Cups Agent. More...

#include <CupsAgent.h>

Inheritance diagram for CupsAgent:

SCRAgent

List of all members.

Public Member Functions

 CupsAgent ()
virtual ~CupsAgent ()
virtual YCPValue Read (const YCPPath &path, const YCPValue &arg=YCPNull(), const YCPValue &opt=YCPNull())
virtual YCPBoolean Write (const YCPPath &path, const YCPValue &value, const YCPValue &arg=YCPNull())
virtual YCPList Dir (const YCPPath &path)
virtual YCPValue otherCommand (const YCPTerm &term)

Private Attributes

PrintersConf printers
ClassesConf classes
DefaultDest defaultdest


Detailed Description

An interface class between YaST2 and Cups Agent.

Constructor & Destructor Documentation

CupsAgent::CupsAgent (  ) 

Default constructor.

Constructor

CupsAgent::~CupsAgent (  )  [virtual]

Destructor.

Destructor


Member Function Documentation

YCPValue CupsAgent::Read ( const YCPPath path,
const YCPValue arg = YCPNull(),
const YCPValue opt = YCPNull() 
) [virtual]

Provides SCR Read ().

Parameters:
path Path that should be read.
arg Additional parameter.
Read

Implements SCRAgent.

References classes, defaultdest, getRemoteDestinations(), last_error, printers, DefaultDest::Read(), ClassesConf::Read(), PrintersConf::Read(), and YCPError().

YCPBoolean CupsAgent::Write ( const YCPPath path,
const YCPValue value,
const YCPValue arg = YCPNull() 
) [virtual]

YCPList CupsAgent::Dir ( const YCPPath path  )  [virtual]

Provides SCR Write ().

Dir

Implements SCRAgent.

References getClasses(), getPrinters(), and ycp2error.

YCPValue CupsAgent::otherCommand ( const YCPTerm term  )  [virtual]

Used for mounting the agent.

otherCommand

Reimplemented from SCRAgent.

References YCPTerm::name().


Member Data Documentation

Agent private variables

Referenced by Read(), and Write().

Referenced by Read(), and Write().

Referenced by Read(), and Write().


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

Generated on Sat Jun 7 05:15:31 2008 for yast2-printer by  doxygen 1.5.5