Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Examples

Y2CCScript.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                                                                      |  
00003 |                      __   __    ____ _____ ____                      |  
00004 |                      \ \ / /_ _/ ___|_   _|___ \                     |  
00005 |                       \ V / _` \___ \ | |   __) |                    |  
00006 |                        | | (_| |___) || |  / __/                     |  
00007 |                        |_|\__,_|____/ |_| |_____|                    |  
00008 |                                                                      |  
00009 |                               core system                            | 
00010 |                                                        (C) SuSE GmbH |  
00011 \----------------------------------------------------------------------/ 
00012 
00013    File:       Y2CCScript.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 executes YCP script via wfm
00023  *
00024  * Author: Mathias Kettner <kettner@suse.de>
00025  */
00026 
00027 #ifndef Y2CCScript_h
00028 #define Y2CCScript_h
00029 
00030 #include <y2/Y2ComponentCreator.h>
00031 
00032 class Y2ScriptComponent;
00033 
00048 class Y2CCScript : public Y2ComponentCreator
00049 {
00053     regex_t rx1;
00054     
00055 public:
00059     Y2CCScript();
00060 
00065     virtual Y2Component *createInLevel(const char *name, int level, int current_level) const;
00066 
00071     virtual bool isServerCreator() const;
00072     
00076     virtual  Y2Component *provideNamespace(const char *name);
00077 };
00078 
00079 
00080 #endif // Y2CCScript_h

Generated on Fri Nov 9 18:15:22 2007 for yast2-core by doxygen 1.3.6