diff options
Diffstat (limited to 'sources/shiboken2/ApiExtractor/typedatabase.h')
-rw-r--r-- | sources/shiboken2/ApiExtractor/typedatabase.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sources/shiboken2/ApiExtractor/typedatabase.h b/sources/shiboken2/ApiExtractor/typedatabase.h index 63f4cc73d..dfddfc300 100644 --- a/sources/shiboken2/ApiExtractor/typedatabase.h +++ b/sources/shiboken2/ApiExtractor/typedatabase.h @@ -142,6 +142,8 @@ public: static QString globalNamespaceClassName(const TypeEntry *te); bool parseFile(const QString &filename, bool generate = true); + bool parseFile(const QString &filename, const QString ¤tPath, bool generate); + bool parseFile(QIODevice* device, bool generate = true); bool setApiVersion(const QString& package, const QString& version); @@ -154,7 +156,7 @@ public: void setDropTypeEntries(QStringList dropTypeEntries); - QString modifiedTypesystemFilepath(const QString &tsFile, bool stripPath = true) const; + QString modifiedTypesystemFilepath(const QString &tsFile, const QString ¤tPath = QString()) const; #ifndef QT_NO_DEBUG_STREAM void formatDebug(QDebug &d) const; |