yast2-core
|
#include <Y2CCPlugin.h>
Public Member Functions | |
Y2CCPlugin (bool server) | |
bool | isServerCreator () const |
Y2Component * | createInLevel (const char *name, int level, int current_level) const |
Y2Component * | provideNamespace (const char *name_space) |
![]() | |
Y2ComponentCreator (Y2ComponentBroker::order_t order) | |
Y2ComponentCreator (Y2ComponentBroker::order_t order, bool force_register) | |
virtual | ~Y2ComponentCreator () |
virtual Y2Component * | create (const char *name) const |
bool | isClientCreator () const |
Private Member Functions | |
void | make_rxs () const |
void | free_rxs () const |
Private Attributes | |
bool | creates_servers |
regex_t | rxs1 |
regex_t | rxr1 |
regex_t | rxr2 |
regex_t | rxr3 |
int | my_nl_msg_cat_cntr |
std::map< string, Y2PluginComponent * > | components |
Y2CCPlugin::Y2CCPlugin | ( | bool | server | ) |
Creates a YaST2 Component Creator that can create plugin components. A plugin component is a component that is realized by an dynamic loadable library.
References make_rxs().
|
virtual |
Creates a component. It is searched in the in YASTHOME/plugin. The name must not contain any slash.
Reimplemented from Y2ComponentCreator.
References creates_servers, Y2PathSearch::findy2plugin(), free_rxs(), make_rxs(), my_nl_msg_cat_cntr, name, rxr1, rxr2, rxr3, and rxs1.
|
private |
References rxr1, rxr2, rxr3, and rxs1.
Referenced by createInLevel().
|
virtual |
Return true, if this creator creates server components.
Implements Y2ComponentCreator.
References creates_servers.
|
private |
References my_nl_msg_cat_cntr, rxr1, rxr2, rxr3, and rxs1.
Referenced by createInLevel(), and Y2CCPlugin().
|
virtual |
Importing a namespace from a plugin subcomponent is not possible.
Reimplemented from Y2ComponentCreator.
References Y2PluginComponent::component(), components, Y2PathSearch::findy2plugin(), g_y2ccplugin0, g_y2ccplugin1, level, Y2PathSearch::numberOfComponentLevels(), and y2debug.
|
private |
Referenced by provideNamespace().
|
private |
Is true, if this creator should create servers.
Referenced by createInLevel(), and isServerCreator().
|
mutableprivate |
Referenced by createInLevel(), and make_rxs().
|
mutableprivate |
Referenced by createInLevel(), free_rxs(), and make_rxs().
|
mutableprivate |
Referenced by createInLevel(), free_rxs(), and make_rxs().
|
mutableprivate |
Referenced by createInLevel(), free_rxs(), and make_rxs().
|
mutableprivate |
regular expression
Referenced by createInLevel(), free_rxs(), and make_rxs().