00001 /*---------------------------------------------------------------------\ 00002 | | 00003 | __ __ ____ _____ ____ | 00004 | \ \ / /_ _/ ___|_ _|___ \ | 00005 | \ V / _` \___ \ | | __) | | 00006 | | | (_| |___) || | / __/ | 00007 | |_|\__,_|____/ |_| |_____| | 00008 | | 00009 | core system | 00010 | (C) SuSE GmbH | 00011 \----------------------------------------------------------------------/ 00012 00013 File: Y2CCWFM.h 00014 00015 Author: Mathias Kettner <kettner@suse.de> 00016 Stanislav Visnovsky <visnov@suse.cz> 00017 Maintainer: Stanislav Visnovsky <visnov@suse.cz> 00018 00019 /-*/ 00020 // -*- c++ -*- 00021 00022 /* 00023 * Component Creator that executes YCP script via wfm 00024 * 00025 * Author: Mathias Kettner <kettner@suse.de> 00026 * Stanislav Visnovsky <visnov@suse.cz> 00027 */ 00028 00029 #ifndef Y2CCWFM_h 00030 #define Y2CCWFM_h 00031 00032 #include <y2/Y2ComponentCreator.h> 00033 00034 class Y2WFMComponent; 00035 00050 class Y2CCWFM : public Y2ComponentCreator 00051 { 00052 public: 00056 Y2CCWFM(); 00057 00062 virtual Y2Component *createInLevel(const char *name, int level, int current_level) const; 00063 00068 virtual bool isServerCreator() const; 00069 00073 virtual Y2Component *provideNamespace(const char *name); 00074 00078 Y2Component *create (const char *name) const; 00079 }; 00080 00081 00082 #endif // Y2CCWFM_h