home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 May / Pcwk0597.iso / sybase / starbuck / h.z / WDEFWIN.H < prev    next >
C/C++ Source or Header  |  1996-07-24  |  1KB  |  37 lines

  1. /*
  2.  *  wdefwin.h    default windowing calls
  3.  *
  4.  *  Copyright by WATCOM International Corp. 1988-1996.  All rights reserved.
  5.  */
  6. #ifndef _WDEFWIN_H_INCLUDED
  7. #define _WDEFWIN_H_INCLUDED
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11.  
  12. #ifndef __SW_BW
  13.   #error wdefwin.h is for use the default windowing system, use the /bw switch
  14. #endif
  15.  
  16. #ifndef _COMDEF_H_INCLUDED
  17.  #include <_comdef.h>
  18. #endif
  19.  
  20. #if ( defined(__OS2__) && (defined(__386__)||defined(__PPC__)) ) || defined(__NT__) || \
  21.     defined(__WINDOWS_386__) || defined(__WINDOWS__)
  22. _WCRTLINK extern int _dwDeleteOnClose( int handle );
  23. _WCRTLINK extern int _dwSetAboutDlg( const char *title, const char *text );
  24. _WCRTLINK extern int _dwSetAppTitle( const char *title );
  25. _WCRTLINK extern int _dwSetConTitle( int handle, const char *title );
  26. _WCRTLINK extern int _dwYield( void );
  27. _WCRTLINK extern int _dwShutDown( void );
  28. #else
  29.   #error You cannot use the default windowing system in a non GUI environment
  30.   #error Make sure you use the /bt= switch to select the target system
  31. #endif  
  32.  
  33. #ifdef __cplusplus
  34. };
  35. #endif
  36. #endif
  37.