- Timestamp:
- Dec 3, 2006, 6:45:43 PM (19 years ago)
- Location:
- psi/trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
psi/trunk/src/common.cpp
r76 r84 21 21 #include"common.h" 22 22 23 #if defined(Q_OS_OS2) && !defined(QT_OS2_NO_SYSEXCEPTIONS) 24 #include <qt_os2.h> 25 #endif 26 23 27 #include"profiles.h" 24 28 #include"rtparse.h" … … 27 31 28 32 QString PROG_NAME = "Psi/2"; 29 QString PROG_VERSION = "0.10.1";30 //QString PROG_VERSION = "0.10.1-dev (" __DATE__ ")";33 //QString PROG_VERSION = "0.10.2"; 34 QString PROG_VERSION = "0.10.2-dev (" __DATE__ ")"; 31 35 32 36 #ifdef HAVE_CONFIG … … 2011 2015 } 2012 2016 2017 #if defined(Q_OS_OS2) && !defined(QT_OS2_NO_SYSEXCEPTIONS) 2018 int psiOS2SysXcptCallback( QtOS2SysXcptReq req, QtOS2SysXcptWriter writer, 2019 int /* reserved */ ) 2020 { 2021 switch( req ) 2022 { 2023 case QtOS2SysXcptReq_AppName: 2024 if ( writer ) writer( PROG_NAME.latin1() ); 2025 return TRUE; 2026 case QtOS2SysXcptReq_AppVer: 2027 if ( writer ) writer( PROG_VERSION.latin1() ); 2028 return TRUE; 2029 case QtOS2SysXcptReq_ReportTo: 2030 if ( writer ) writer( "qt-traps@hugaida.com" ); 2031 return TRUE; 2032 default: 2033 break; 2034 } 2035 return FALSE; 2036 } 2037 #endif -
psi/trunk/src/main.cpp
r2 r84 34 34 #include<qmessagebox.h> 35 35 #include<qca.h> 36 37 #if defined(Q_OS_OS2) && !defined(QT_OS2_NO_SYSEXCEPTIONS) 38 #include <qt_os2.h> 39 extern // defined in common.cpp 40 int psiOS2SysXcptCallback( QtOS2SysXcptReq req, QtOS2SysXcptWriter writer, 41 int /* reserved */ ); 42 #endif 43 44 36 45 #include<stdlib.h> 37 46 #include<time.h> 47 38 48 #include"common.h" 39 49 #include"profiles.h" … … 337 347 int main(int argc, char *argv[]) 338 348 { 349 #if defined(Q_OS_OS2) && !defined(QT_OS2_NO_SYSEXCEPTIONS) 350 // install the OS/2 system exception handler and callback 351 QtOS2SysXcptMainHandler sysXcptHandler( psiOS2SysXcptCallback ); 352 #endif 353 339 354 // add library paths before creating QApplication 340 355 if (!loadGlobal()) -
psi/trunk/src/psiapplication.cpp
r53 r84 128 128 Q_UNUSED(GUIenabled); 129 129 #ifdef Q_WS_PM 130 // enable ft2lib when appropriate 130 131 if ( GUIenabled ) { 131 132 Ft2EnableFontEngine =
Note:
See TracChangeset
for help on using the changeset viewer.