path: root/qtdocparser.h
diff options
authorHugo Lima <hugo.lima@openbossa.org>2009-11-12 17:38:09 -0200
committerMarcelo Lira <marcelo.lira@openbossa.org>2009-11-13 13:55:28 -0300
commita98088877fc638ce9f068aaaa5fa4c7f883a1a87 (patch)
treec10592b70efbc1e449dbfb872466dc2b5139854f /qtdocparser.h
parent9deca0a40aa9cd31510e0ba833fe207ac7e3dbab (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 'qtdocparser.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/qtdocparser.h b/qtdocparser.h
index e4b7089d..e2115f99 100644
--- a/qtdocparser.h
+++ b/qtdocparser.h
@@ -26,7 +26,7 @@
#include "docparser.h"
-class QtDocParser : public DocParser
+class APIEXTRACTOR_API QtDocParser : public DocParser
QtDocParser() {}