From e88966158871619335f59e7b382ef4e0df413419 Mon Sep 17 00:00:00 2001 From: Daniel Brahneborg Date: Sat, 13 Apr 2002 06:33:40 +0000 Subject: Add Newt interface --- sisinstall/sisinstaller.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'sisinstall/sisinstaller.h') 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 +#endif + #include 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, -- cgit v1.2.3