home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool.zip / OOL / include / xdialog.h < prev    next >
C/C++ Source or Header  |  1997-04-02  |  1KB  |  32 lines

  1. #ifndef __XDIALOG_H__
  2. #define __XDIALOG_H__
  3.  
  4. /*===========================================================================*/
  5. /* OOL ------------------- the Open Object Library ------------- OS/2 Beta 1 */
  6. /*===========================================================================*/
  7. /*                              class: XDialog                                  */
  8. /*                       derived from: XWindow                               */
  9. /*                        last update: 4/97                                  */
  10. /*                      programmed by: Stefan von Brauk (sbrauk@gwdg.de)     */
  11. /*===========================================================================*/
  12.  
  13.  
  14.  
  15. #include "XWindow.h"
  16. #include "XProcess.h"
  17. class XResource;
  18.  
  19.  
  20. class _export_ XDialog: public XWindow
  21. {
  22.    protected:
  23.       SHORT command;
  24.       XDialog( ) { winhandle = 0; }        
  25.         XProcess * process;
  26.    public:
  27.       SHORT GetCommand() const { return command; }
  28.         ~XDialog() { if ( process ) process->RemoveWindow(this); }
  29. };
  30.  
  31. #endif
  32.