yast2-core
Y2CCStdio.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: Y2CCStdio.h
14 
15  Author: Mathias Kettner <kettner@suse.de>
16  Maintainer: Thomas Roelz <tom@suse.de>
17 
18 /-*/
19 // -*- c++ -*-
20 
21 /*
22  * Component Creator that creates stdio components
23  *
24  * Author: Mathias Kettner <kettner@suse.de>
25  */
26 
27 #ifndef Y2CCStdio_h
28 #define Y2CCStdio_h
29 
30 #include "Y2ComponentCreator.h"
31 
33 {
39 
43  bool to_stderr;
44 
45 public:
46  Y2CCStdio(bool creates_servers, bool to_stderr);
47 
48  bool isServerCreator() const;
49 
50  Y2Component *create(const char *name) const;
51 
55  Y2Component* provideNamespace(const char* name_space);
56 };
57 
58 
59 #endif // Y2CCStdio_h
bool to_stderr
Definition: Y2CCStdio.h:43
Y2Component * create(const char *name) const
Definition: Y2CCStdio.cc:44
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
bool creates_servers
Definition: Y2CCStdio.h:38
Y2Component * provideNamespace(const char *name_space)
Definition: Y2CCStdio.cc:60
Communication handle to a YaST2 component.
Definition: Y2Component.h:262
Y2CCStdio(bool creates_servers, bool to_stderr)
Definition: Y2CCStdio.cc:30
bool isServerCreator() const
Definition: Y2CCStdio.cc:38
Can create certain YaST2 components As documented in Y2Component, there are many ways how to realize ...
Definition: Y2ComponentCreator.h:43
Definition: Y2CCStdio.h:32

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