00001 /*---------------------------------------------------------------------\ 00002 | | 00003 | __ __ ____ _____ ____ | 00004 | \ \ / /_ _/ ___|_ _|___ \ | 00005 | \ V / _` \___ \ | | __) | | 00006 | | | (_| |___) || | / __/ | 00007 | |_|\__,_|____/ |_| |_____| | 00008 | | 00009 | core system | 00010 | (C) SuSE GmbH | 00011 \----------------------------------------------------------------------/ 00012 00013 File: Y2CCStdio.h 00014 00015 Author: Mathias Kettner <kettner@suse.de> 00016 Maintainer: Thomas Roelz <tom@suse.de> 00017 00018 /-*/ 00019 // -*- c++ -*- 00020 00021 /* 00022 * Component Creator that creates stdio components 00023 * 00024 * Author: Mathias Kettner <kettner@suse.de> 00025 */ 00026 00027 #ifndef Y2CCStdio_h 00028 #define Y2CCStdio_h 00029 00030 #include "Y2ComponentCreator.h" 00031 00032 class Y2CCStdio : public Y2ComponentCreator 00033 { 00038 bool creates_servers; 00039 00043 bool to_stderr; 00044 00045 public: 00046 Y2CCStdio(bool creates_servers, bool to_stderr); 00047 00048 bool isServerCreator() const; 00049 00050 Y2Component *create(const char *name) const; 00051 00055 Y2Component* provideNamespace(const char* name_space); 00056 }; 00057 00058 00059 #endif // Y2CCStdio_h