yast2-core
Y2CCWFM.h
Go to the documentation of this file.
1 /*---------------------------------------------------------------------\
2 | |
3 | __ __ ____ _____ ____ |
4 | \ \ / /_ _/ ___|_ _|___ \ |
5 | \ V / _` \___ \ | | __) | |
6 | | | (_| |___) || | / __/ |
7 | |_|\__,_|____/ |_| |_____| |
8 | |
9 | core system |
10 | (C) SuSE GmbH |
11 \----------------------------------------------------------------------/
12 
13  File: Y2CCWFM.h
14 
15  Author: Mathias Kettner <kettner@suse.de>
16  Stanislav Visnovsky <visnov@suse.cz>
17  Maintainer: Stanislav Visnovsky <visnov@suse.cz>
18 
19 /-*/
20 // -*- c++ -*-
21 
22 /*
23  * Component Creator that executes YCP script via wfm
24  *
25  * Author: Mathias Kettner <kettner@suse.de>
26  * Stanislav Visnovsky <visnov@suse.cz>
27  */
28 
29 #ifndef Y2CCWFM_h
30 #define Y2CCWFM_h
31 
32 #include <y2/Y2ComponentCreator.h>
33 
34 class Y2WFMComponent;
35 
51 {
52 public:
56  Y2CCWFM();
57 
62  virtual Y2Component *createInLevel(const char *name, int level, int current_level) const;
63 
68  virtual bool isServerCreator() const;
69 
73  virtual Y2Component *provideNamespace(const char *name);
74 
78  Y2Component *create (const char *name) const;
79 };
80 
81 
82 #endif // Y2CCWFM_h
Creates client components realized by YCP scripts This component broker creates components of the typ...
Definition: Y2CCWFM.h:50
Definition: Y2WFMComponent.h:33
enters the component to the broker s list in the given order Y2Component int int current_level same as but for external components which may reside in different directories The level identifies the directory prefix from the list defined in pathsearch cc bool false for clients bool true for clients Catalog of component take it if we can stat it and it is not take it if we can t stat it and its line matches in current level only name
Definition: componentcreator.txt:34
virtual Y2Component * createInLevel(const char *name, int level, int current_level) const
Definition: Y2CCWFM.cc:65
Communication handle to a YaST2 component.
Definition: Y2Component.h:262
virtual Y2Component * provideNamespace(const char *name)
Definition: Y2CCWFM.cc:178
Y2CCWFM()
Definition: Y2CCWFM.cc:51
enters the component to the broker s list in the given order Y2Component int level
Definition: componentcreator.txt:21
Y2Component * create(const char *name) const
Definition: Y2CCWFM.cc:198
Can create certain YaST2 components As documented in Y2Component, there are many ways how to realize ...
Definition: Y2ComponentCreator.h:43
virtual bool isServerCreator() const
Definition: Y2CCWFM.cc:173

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