Changeset 99 for trunk/include


Ignore:
Timestamp:
Jul 21, 2006, 9:24:43 PM (19 years ago)
Author:
dmik
Message:

Plugin Support: Fixed: Q_EXPORT_PLUGIN and Q_EXPORT_COMPONENT macros procudced entry points with underscores, but resolved them without. Now, entry points use the _System decl to prevent underscores at all.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/qgplugin.h

    r2 r99  
    9191        }
    9292
    93 #    ifdef Q_WS_WIN
     93#    if defined(Q_WS_WIN)
    9494#       ifdef Q_CC_BOR
    9595#           define Q_EXPORT_PLUGIN(PLUGIN) \
     
    110110                Q_PLUGIN_INSTANTIATE( PLUGIN )
    111111#       endif
     112#    elif defined(Q_OS_OS2)
     113#       define Q_EXPORT_PLUGIN(PLUGIN) \
     114            Q_PLUGIN_VERIFICATION_DATA \
     115            Q_EXTERN_C \
     116            const char * _System qt_ucm_query_verification_data() \
     117            { return qt_ucm_verification_data; } \
     118            Q_EXTERN_C QUnknownInterface * _System ucm_instantiate() \
     119            Q_PLUGIN_INSTANTIATE( PLUGIN )
    112120#    else
    113121#       define Q_EXPORT_PLUGIN(PLUGIN) \
Note: See TracChangeset for help on using the changeset viewer.