home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / BK-SC1_4.DMS / in.adf / MUIClass.Lha / Demo / Demo2 / Class.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-07-05  |  790 b   |  38 lines

  1. #ifndef CPP_TWIMUI_APPLICATION_H
  2. #include <classes/twimui/application.h>
  3. #endif
  4.  
  5. #ifndef CPP_TWIMUI_BUTTON_H
  6. #include <classes/twimui/button.h>
  7. #endif
  8.  
  9. #ifndef CPP_TWIMUI_REQUEST_H
  10. #include <classes/twimui/request.h>
  11. #endif
  12.  
  13. #ifndef CPP_TWIMUI_WINDOW_H
  14. #include <classes/twimui/window.h>
  15. #endif
  16.  
  17. const ULONG MUIM_Demo_Save   = (TAGBASE_WILLI | 0x0001);
  18. const ULONG MUIM_Demo_Use    = (TAGBASE_WILLI | 0x0002);
  19. const ULONG MUIM_Demo_Cancel = (TAGBASE_WILLI | 0x0003);
  20.  
  21. class TWiWin : public MUIWindow
  22.     {
  23.     private:
  24.         MUILabButton BSave;
  25.         MUILabButton BUse;
  26.         MUILabButton BCancel;
  27.         MUIRequest MsgSave;
  28.         MUIRequest MsgUse;
  29.         MUIRequest MsgCan;
  30.         virtual ULONG UserDispatch(struct IClass *, Object *, Msg);
  31.         void save();
  32.         void use();
  33.         void cancel();
  34.     public:
  35.         TWiWin();
  36.         ~TWiWin();
  37.     };
  38.