yast2-core
Y2ErrorComponent.h
Go to the documentation of this file.
1 /*-----------------------------------------------------------*- c++ -*-\
2 | |
3 | __ __ ____ _____ ____ |
4 | \ \ / /_ _/ ___|_ _|___ \ |
5 | \ V / _` \___ \ | | __) | |
6 | | | (_| |___) || | / __/ |
7 | |_|\__,_|____/ |_| |_____| |
8 | |
9 | core system |
10 | (C) SuSE GmbH |
11 \----------------------------------------------------------------------/
12 
13  File: Y2ErrorComponent.h
14 
15  Author: Martin Vidner <mvidner@suse.cz>
16 
17 /-*/
18 
19 /*
20  * Component that represents an error while creating another component
21  * (the component creator would otherwise keep trying while we want to cry foul)
22  *
23  * BTW we do not need a matching component creator because we do not
24  * WANT errors, they just happen, pesky things.
25  */
26 
27 #ifndef Y2ErrorComponent_h
28 #define Y2ErrorComponent_h
29 
30 #include "Y2Component.h"
31 
36 {
37 public:
38 
43 
47  string name() const { return "ErrorComponent"; }
48 
49 };
50 
51 
52 #endif // Y2ErrorComponent_h
A dummy component representing an error.
Definition: Y2ErrorComponent.h:35
Communication handle to a YaST2 component.
Definition: Y2Component.h:262
string name() const
Definition: Y2ErrorComponent.h:47
Y2ErrorComponent()
Definition: Y2ErrorComponent.h:42

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