Y2CCWFM Class Reference

Creates client components realized by YCP scripts This component broker creates components of the type Y2WFMComponent. You can give it a module name or a path name to some file. First it tries to find some script in YASTHOME/clients/<modulename>.ycp. If it doesn't find one here, it considers the name to be a filename and examines that file. If it:. More...

#include <Y2CCWFM.h>

Inheritance diagram for Y2CCWFM:

Y2ComponentCreator

List of all members.

Public Member Functions

 Y2CCWFM ()
virtual Y2ComponentcreateInLevel (const char *name, int level, int current_level) const
virtual bool isServerCreator () const
virtual Y2ComponentprovideNamespace (const char *name)
Y2Componentcreate (const char *name) const


Detailed Description

Creates client components realized by YCP scripts This component broker creates components of the type Y2WFMComponent. You can give it a module name or a path name to some file. First it tries to find some script in YASTHOME/clients/<modulename>.ycp. If it doesn't find one here, it considers the name to be a filename and examines that file. If it:.


Constructor & Destructor Documentation

Y2CCWFM::Y2CCWFM (  ) 

Creates a script component creator.


Member Function Documentation

Y2Component * Y2CCWFM::create ( const char *  name  )  const [virtual]

Creates a new wfm component.

Reimplemented from Y2ComponentCreator.

References Y2WFMComponent::instance().

Y2Component * Y2CCWFM::createInLevel ( const char *  name,
int  level,
int  current_level 
) const [virtual]

bool Y2CCWFM::isServerCreator (  )  const [virtual]

Returns always true, since currently only client components can be realized by a YCP script.

Implements Y2ComponentCreator.

Y2Component * Y2CCWFM::provideNamespace ( const char *  name  )  [virtual]

We do provide namespaces from YCP

Reimplemented from Y2ComponentCreator.

References YCPPathSearch::findModule(), initializeBuiltins(), Y2WFMComponent::instance(), and y2debug.


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

Generated on a sunny day for yast2-core by doxygen 1.5.9