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