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

YNCursesComponent.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:         YNCursesComponent.h
00014 
00015   Author:       Stefan Hundhammer <sh@suse.de>
00016   
00017   Maintainer:   Michael Andres <ma@suse.de>
00018 
00019 
00020 /-*/
00021 
00022 #ifndef YNCursesComponent_h
00023 #define YNCursesComponent_h
00024 
00025 #include <YUIComponent.h>
00026 #include "YNCursesUI.h"
00027 
00028 
00029 class YNCursesComponent :  public YUIComponent
00030 {
00031 public:
00032 
00033     YNCursesComponent(): YUIComponent() {}
00034 
00040     virtual YUI * createUI( int          argc,
00041                             char **      argv,
00042                             bool         with_threads,
00043                             const char * macro_file )
00044     {
00045         return new YNCursesUI( argc, argv, with_threads, macro_file );
00046     }
00047 
00053     virtual string name() const { return "ncurses"; }
00054 
00055 };
00056 
00057 
00058 #endif // YNCursesComponent_h

Generated on Wed Nov 12 04:52:32 2008 for yast2-ncurses by  doxygen 1.3.9.1