Ignore:
Timestamp:
Aug 19, 2011, 12:27:58 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

OS/2: Export platform-specific qDebug() helpers.

This lets them be used in application code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/kernel/qwindowdefs_pm.h

    r750 r1006  
    111111struct QDebugHWND { HWND hwnd; };
    112112inline QDebugHWND qDebugHWND(HWND hwnd) { QDebugHWND d = { hwnd }; return d; }
    113 QDebug operator<<(QDebug debug, const QDebugHWND &d);
     113Q_GUI_EXPORT QDebug operator<<(QDebug debug, const QDebugHWND &d);
    114114
    115115struct QDebugHRGN { HRGN hrgn; };
    116116inline QDebugHRGN qDebugHRGN(HRGN hrgn) { QDebugHRGN d = { hrgn }; return d; }
    117 QDebug operator<<(QDebug debug, const QDebugHRGN &d);
     117Q_GUI_EXPORT QDebug operator<<(QDebug debug, const QDebugHRGN &d);
    118118
    119119// the following declarations require OS/2 types not defined here,
     
    121121#if defined(QT_OS2_H)
    122122
    123 QDebug operator<<(QDebug debug, const RECTL &rcl);
    124 QDebug operator<<(QDebug debug, const SWP &swp);
    125 QDebug operator<<(QDebug debug, const QMSG &qmsg);
     123Q_GUI_EXPORT QDebug operator<<(QDebug debug, const RECTL &rcl);
     124Q_GUI_EXPORT QDebug operator<<(QDebug debug, const SWP &swp);
     125Q_GUI_EXPORT QDebug operator<<(QDebug debug, const QMSG &qmsg);
    126126
    127127#endif // defined(QT_OS2_H)
Note: See TracChangeset for help on using the changeset viewer.