yast2-ncurses: NCPopupPkgTable.h Source File

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

# NCPopupPkgTable.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:       NCPopupPkgTable.h
    00014
    00015    Author:     Gabriele Strattner <gs@suse.de>
    00016    Maintainer: Michael Andres <ma@suse.de>
    00017
    00018 /-*/
    00019 #ifndef NCPopupPkgTable_h
    00020 #define NCPopupPkgTable_h
    00021
    00022 #include <iosfwd>
    00023
    00024 #include <vector>
    00025 #include <string>
    00026
    00027 #include "NCPopup.h"
    00028
    00029 class NCPkgTable;
    00030 class NCPushButton;
    00031 class PackageSelector;
    00032
    00033
    00035 //
    00036 //      CLASS NAME : NCPopupPkgTable
    00037 //
    00038 //      DESCRIPTION :
    00039 //
    00040 class NCPopupPkgTable : public NCPopup {
    00041
    00042     NCPopupPkgTable & operator=( const NCPopupPkgTable & );
    00043     NCPopupPkgTable            ( const NCPopupPkgTable & );
    00044
    00045 private:
    00046
    00047     NCPkgTable * pkgTable;
    00048     NCPushButton * okButton;
    00049     NCPushButton * cancelButton;
    00050     PackageSelector * packager;
    00051
    00052 protected:
    00053
    00054     virtual bool postAgain();
    00055
    00056     virtual NCursesEvent wHandleInput( wint_t ch );
    00057
    00058 public:
    00059
    00060     NCPopupPkgTable( const wpos at, PackageSelector * pkger );
    00061
    00062     virtual ~NCPopupPkgTable();
    00063
    00064     virtual long nicesize(YUIDimension dim);
    00065
    00066     bool fillAutoChanges( NCPkgTable * pkgTable );
    00067
    00068     void createLayout( );
    00069
    00070     NCursesEvent showInfoPopup( );
    00071
    00072 };
    00073
    00075
    00076
    00077 #endif // NCPopupPkgTable_h