00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef _PASSWORDWIDGET_H
00023 #define _PASSWORDWIDGET_H
00024
00025 #ifdef HAVE_CONFIG_H
00026 # include <config.h>
00027 #endif
00028
00029 #ifdef HAVE_NCURSES_H
00030 # include <ncurses.h>
00031 #else // HAVE_NCURSES_H
00032 # ifdef HAVE_CURSES_H
00033 # include <curses.h>
00034 # else
00035 # error "Neither curses.h nor ncurses.h available"
00036 # endif // HAVE_CURSES_H
00037 #endif // HAVE_NCURSES_H
00038 #include "curswa.h"
00039
00040 #include "inputwidget.h"
00041
00042 namespace YAPETUI {
00043
00050 class PasswordWidget : public InputWidget {
00051 private:
00052 inline const PasswordWidget& operator=(const PasswordWidget&) { return *this; }
00053
00054 public:
00055 PasswordWidget(int sx, int sy, int w, int ml = 512) throw(UIException);
00056 virtual ~PasswordWidget();
00057
00058 virtual void refresh() throw(UIException);
00059 };
00060
00061 }
00062
00063 #endif // _PASSWORDWIDGET_H