From a98088877fc638ce9f068aaaa5fa4c7f883a1a87 Mon Sep 17 00:00:00 2001 From: Hugo Lima Date: Thu, 12 Nov 2009 17:38:09 -0200 Subject: 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 --- apiextractor.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apiextractor.h') 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 class AbstractMetaBuilder; class QIODevice; -class ApiExtractor +class APIEXTRACTOR_API ApiExtractor { public: ApiExtractor(); -- cgit v1.2.3