aboutsummaryrefslogtreecommitdiffstats
path: root/reporthandler.h
diff options
context:
space:
mode:
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 /reporthandler.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 'reporthandler.h')
-rw-r--r--reporthandler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/reporthandler.h b/reporthandler.h
index e13d3562..1f70046c 100644
--- a/reporthandler.h
+++ b/reporthandler.h
@@ -27,6 +27,7 @@
#include <QtCore/QString>
#include <QtCore/QSet>
#include <cstring>
+#include "apiextractormacros.h"
class ProgressAnimation
{
@@ -75,7 +76,7 @@ private:
}
};
-class ReportHandler
+class APIEXTRACTOR_API ReportHandler
{
public:
enum DebugLevel { NoDebug, SparseDebug, MediumDebug, FullDebug };