diff options
Diffstat (limited to 'sisinstall/sisinstaller.h')
-rw-r--r-- | sisinstall/sisinstaller.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sisinstall/sisinstaller.h b/sisinstall/sisinstaller.h index 28e110f..493d839 100644 --- a/sisinstall/sisinstaller.h +++ b/sisinstall/sisinstaller.h @@ -3,6 +3,10 @@ #include "sistypes.h" +#if HAVE_LIBNEWT +# include <newt.h> +#endif + #include <sys/types.h> class Psion; @@ -46,6 +50,16 @@ public: */ void setPsion(Psion* psion); +#if HAVE_LIBNEWT + /** + * Shall we do use feedback via newt? + */ + void useNewt(bool usenewt) + { + m_useNewt = usenewt; + } +#endif + private: char m_drive; @@ -64,6 +78,10 @@ private: bool m_ownInstalled; +#if HAVE_LIBNEWT + bool m_useNewt; +#endif + enum { FILE_OK, FILE_SKIP, |