author | zecke <zecke> | 2005-02-19 22:45:25 (UTC) |
---|---|---|
committer | zecke <zecke> | 2005-02-19 22:45:25 (UTC) |
commit | 29fef69a2d6a9253ea6bfddb1f9ac09c502f4988 (patch) (side-by-side diff) | |
tree | 13b7549b0e6236230b6666d4c19bfa053cc88b07 | |
parent | 1b99a951afe8ff4338a320fccce5d20f462d51eb (diff) | |
download | opie-29fef69a2d6a9253ea6bfddb1f9ac09c502f4988.zip opie-29fef69a2d6a9253ea6bfddb1f9ac09c502f4988.tar.gz opie-29fef69a2d6a9253ea6bfddb1f9ac09c502f4988.tar.bz2 |
Correct the placement of the exportation
-rw-r--r-- | library/qcom.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/qcom.h b/library/qcom.h index 5703800..be94013 100644 --- a/library/qcom.h +++ b/library/qcom.h @@ -139,33 +139,33 @@ private: // internal class that wraps an initialized ulong struct Q_EXPORT QtULong { QtULong() : ref( 0 ) { } operator unsigned long () const { return ref; } unsigned long& operator++() { return ++ref; } unsigned long operator++( int ) { return ref++; } unsigned long& operator--() { return --ref; } unsigned long operator--( int ) { return ref--; } unsigned long ref; }; #define Q_EXPORT_INTERFACE() \ - extern "C" QUnknownInterface* ucm_instantiate QPE_EXPORT_SYMBOL () + extern "C" QPE_EXPORT_SYMBOL QUnknownInterface* ucm_instantiate () #define Q_REFCOUNT \ private: \ QtULong qtrefcount; \ public: \ ulong addRef() {return qtrefcount++;} \ ulong release() {if(!--qtrefcount){delete this;return 0;}return qtrefcount;} #else // QT_NO_COMPONENT struct Q_EXPORT QUnknownInterface { }; #endif // QT_NO_COMPONENT |