aboutsummaryrefslogtreecommitdiffstats
path: root/typesystem.h
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-11-20 15:25:18 -0200
committerHugo Lima <hugo.lima@openbossa.org>2009-11-20 15:25:18 -0200
commitf2d02ce9d463edaff78ff1d0f3f3c6c9ba9e9159 (patch)
treeaf8c0f1bd43da282f3f3971d156d6df509581e0c /typesystem.h
parente19c8f718dea4b644332188505a4cf38997302de (diff)
Do not export global variables used only in typesystem.cpp.
Diffstat (limited to 'typesystem.h')
-rw-r--r--typesystem.h58
1 files changed, 10 insertions, 48 deletions
diff --git a/typesystem.h b/typesystem.h
index dca3b298..cb26c1db 100644
--- a/typesystem.h
+++ b/typesystem.h
@@ -39,14 +39,6 @@ class QTextStream;
class EnumTypeEntry;
class FlagsTypeEntry;
-extern QString strings_Object;
-extern QString strings_String;
-extern QString strings_Thread;
-extern QString strings_char;
-extern QString stringsJavaLang;
-extern QString strings_jchar;
-extern QString strings_jobject;
-
struct APIEXTRACTOR_API Include
{
enum IncludeType {
@@ -1047,10 +1039,7 @@ public:
return javaObjectPackage() + "." + javaObjectName();
}
QString javaObjectName() const;
- QString javaObjectPackage() const
- {
- return stringsJavaLang;
- }
+ QString javaObjectPackage() const;
virtual bool preferredConversion() const
{
@@ -1353,10 +1342,7 @@ public:
return m_lookupName.isEmpty() ? targetLangName() : m_lookupName;
}
- QString targetLangApiName() const
- {
- return strings_jobject;
- }
+ QString targetLangApiName() const;
void setTypeFlags(TypeFlags flags)
{
@@ -1641,18 +1627,9 @@ public:
setCodeGeneration(GenerateNothing);
}
- QString targetLangApiName() const
- {
- return strings_jobject;
- }
- QString targetLangName() const
- {
- return strings_String;
- }
- QString targetLangPackage() const
- {
- return stringsJavaLang;
- }
+ QString targetLangApiName() const;
+ QString targetLangName() const;
+ QString targetLangPackage() const;
virtual bool isNativeIdBased() const
{
@@ -1668,14 +1645,8 @@ public:
setCodeGeneration(GenerateNothing);
}
- QString targetLangApiName() const
- {
- return strings_jchar;
- }
- QString targetLangName() const
- {
- return strings_char;
- }
+ QString targetLangApiName() const;
+ QString targetLangName() const;
QString targetLangPackage() const
{
return QString();
@@ -1692,18 +1663,9 @@ class VariantTypeEntry: public ValueTypeEntry
public:
VariantTypeEntry(const QString &name) : ValueTypeEntry(name, VariantType) { }
- QString targetLangApiName() const
- {
- return strings_jobject;
- }
- QString targetLangName() const
- {
- return strings_Object;
- }
- QString targetLangPackage() const
- {
- return stringsJavaLang;
- }
+ QString targetLangApiName() const;
+ QString targetLangName() const;
+ QString targetLangPackage() const;
virtual bool isNativeIdBased() const
{