diff options
author | Daniel Brahneborg <basic@chello.se> | 2002-04-13 06:33:40 +0000 |
---|---|---|
committer | Daniel Brahneborg <basic@chello.se> | 2002-04-13 06:33:40 +0000 |
commit | e88966158871619335f59e7b382ef4e0df413419 (patch) | |
tree | a23538bdefe72877279ac4654207a35cba2d891f /sisinstall/sisinstaller.h | |
parent | 700403e0cdc58260fc3d69caec3aa6e5b0f98eee (diff) | |
download | plptools-e88966158871619335f59e7b382ef4e0df413419.tar.gz plptools-e88966158871619335f59e7b382ef4e0df413419.tar.bz2 plptools-e88966158871619335f59e7b382ef4e0df413419.zip |
Add Newt interface
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, |