diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2009-11-12 17:38:09 -0200 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-11-13 13:55:28 -0300 |
commit | a98088877fc638ce9f068aaaa5fa4c7f883a1a87 (patch) | |
tree | c10592b70efbc1e449dbfb872466dc2b5139854f /apiextractor.h | |
parent | 9deca0a40aa9cd31510e0ba833fe207ac7e3dbab (diff) |
APIExtractor is a huge amount of legacy code inherited from QtScriptGenerator,
but QtScriptGenerator itself isn't a library, this explains why libapiextractor
does not care about things that every library SHOULD care, symbol visibility and
binary compatibility.
This commit adds symbol visibility rules to libapiextractor as the first step to make
libapiextractor aware of binary compatibility.
This is also needed if we want to be able to compile and use libapiextractor
under Windows.
Note: Not all symbols were made public, just the symbols needed by shiboken,
boostpython and doc generators, because IMHO libapiextractor needs some love
and a API review. More symbols could be added later if needed.
Reviewed by Renato Araujo <renato.filho@openbossa.org>
Diffstat (limited to 'apiextractor.h')
-rw-r--r-- | apiextractor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apiextractor.h b/apiextractor.h index b745a91c0..1c729cf6f 100644 --- a/apiextractor.h +++ b/apiextractor.h @@ -26,12 +26,13 @@ #include "reporthandler.h" #include "abstractmetalang.h" +#include "apiextractormacros.h" #include <QStringList> class AbstractMetaBuilder; class QIODevice; -class ApiExtractor +class APIEXTRACTOR_API ApiExtractor { public: ApiExtractor(); |