Ignore:
Timestamp:
Oct 18, 2006, 11:58:35 PM (19 years ago)
Author:
dmik
Message:

Kernel: Added the Qt-wide OS/2 system exception handler (see ticket:33 for details). It may be disabled by defining QT_PM_NO_SYSEXCEPTIONS when building Qt.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/qwindowdefs_pm.h

    r113 r136  
    9999const ULONG QT_EXTRAWINDATASIZE = sizeof(LONG) * 2;
    100100
    101 #ifdef __cplusplus
    102101class Q_EXPORT QPMObjectWindow
    103102{
     
    124123    HWND w;
    125124};
    126 #endif
     125
     126// OS/2 system exception handler callback interface
     127
     128enum QtSysXcptReq
     129{
     130    QtSysXcptReq_AppName = 0,
     131    QtSysXcptReq_AppVer = 1,
     132    QtSysXcptReq_ReportTo = 2,
     133    QtSysXcptReq_ReportSubj = 3,
     134};
     135
     136typedef void (*QtSysXcptWriter)( const char *str );
     137typedef int (*QtSysXcptCallback)( QtSysXcptReq req, QtSysXcptWriter writer,
     138                                  int reserved );
     139
     140Q_EXPORT QtSysXcptCallback qInstallSysXcptCallback( QtSysXcptCallback cb );
    127141
    128142#endif
Note: See TracChangeset for help on using the changeset viewer.