yast2-ncurses: Y2CCNcursesUI Class Reference

Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

# Y2CCNcursesUI Class Reference

Y2ComponentCreator that can create ncursesui user interfaces A Y2ComponentCreator is an object, that can create components. It is given a component name and - if it knows how to create such a component - returns a newly created component of this type. The Y2CCNCursesUI can create components with the name "ncursesui". More...

`#include <Y2CCNCursesUI.h>`

Inheritance diagram for Y2CCNcursesUI:

List of all members.

## Public Member Functions
| Y2CCNcursesUI ()
bool | isServerCreator () const
Y2Component * | create (const char *name) const

## Detailed Description

Y2ComponentCreator that can create ncursesui user interfaces A Y2ComponentCreator is an object, that can create components. It is given a component name and - if it knows how to create such a component - returns a newly created component of this type. The Y2CCNCursesUI can create components with the name "ncursesui".

## Constructor & Destructor Documentation

Y2CCNcursesUI::Y2CCNcursesUI | ( |  | ) | `[inline]`

| Creates a NCursesUI component creator

## Member Function Documentation

Y2Component* Y2CCNcursesUI::create | ( | const char * | name | ) | const`[inline, virtual]`

  | Creates a new NCursesUI Userinterface component, if it is asked to. Parameters:
  | name | Name of the component to create. Only if this is "NCursesUI", the NCursesUI component will be created. Otherwise 0 is returned.
Reimplemented from Y2ComponentCreator.

bool Y2CCNcursesUI::isServerCreator | ( |  | ) | const`[inline, virtual]`

| Returns true, since the NCursesUI component is a YaST2 server. Implements Y2ComponentCreator.

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

- Y2CCNCursesUI.h