#include <Y2CCProgram.h>
Inheritance diagram for Y2CCProgram:
Public Member Functions | |
Y2CCProgram (bool server, bool non_y2) | |
bool | isServerCreator () const |
Y2Component * | createInLevel (const char *name, int level, int current_level) const |
virtual Y2Component * | provideNamespace (const char *name_space) |
Private Attributes | |
bool | creates_servers |
bool | creates_non_y2 |
|
Creates a YaST2 Component Creator that can create program components. A program component is a component that is realized by an Unix executable that is executed and communicates via a pipe.
|
|
Creates a component. If the name contains a slash, it is considered to be a relative or absolute path name to a Unix executable. It is not possible to specifiy a server this way. If it does not contain a slash, it is searched for in YASTHOME/modules or YASTHOME/servers, resp. Reimplemented from Y2ComponentCreator. |
|
Return true, if this creator creates server components. Implements Y2ComponentCreator. |
|
Importing a namespace from a program-based subcomponent is not possible. Reimplemented from Y2ComponentCreator. |
|
Is true, if this creator only should create non_y2 programs. |
|
Is true, if this creator only should create servers. |