home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool_main.zip / ool / include / xwizard.h < prev    next >
C/C++ Source or Header  |  1998-03-20  |  1KB  |  30 lines

  1. #ifndef __OOL_XWIZARD_H__
  2. #define __OOL_XWIZARD_H__
  3.  
  4. /*===========================================================================*/
  5. /* OOL ------------------- the Open Object Library ------------------- r 1.0 */
  6. /*===========================================================================*/
  7. /*                              class: XWizard                               */
  8. /*                       derived from: XModalDialog                          */
  9. /*                        last update: 2/98                                  */
  10. /*                      programmed by: Stefan von Brauk (sbrauk@gwdg.de)     */
  11. /*===========================================================================*/
  12.  
  13. #include "xmodal.h"
  14. #include "xcwiz.h"
  15.  
  16. class _export_ XWizard: public XModalDialog
  17. {
  18.    private:
  19.       XWizClientWindow * start, * current;
  20.       void SetClientSize();
  21.    public:
  22.       XWizard(const XWindow*,const ULONG);
  23.       void SetStartPage( XWizClientWindow * s) { start = s; current = start; SetClientSize();}
  24.       BOOL ShowNextPage();
  25.       BOOL ShowPrevPage();
  26.       void Init();
  27.       XWizClientWindow * GetCurrentPage() { return current; }
  28. };
  29.  
  30. #endif