summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cpptoolsreuse.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cpptools/cpptoolsreuse.h')
-rw-r--r--src/plugins/cpptools/cpptoolsreuse.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cpptoolsreuse.h b/src/plugins/cpptools/cpptoolsreuse.h
index 8881c6198a..f8954111c0 100644
--- a/src/plugins/cpptools/cpptoolsreuse.h
+++ b/src/plugins/cpptools/cpptoolsreuse.h
@@ -39,6 +39,7 @@
QT_BEGIN_NAMESPACE
class QChar;
+class QFileInfo;
class QStringRef;
class QTextCursor;
QT_END_NAMESPACE
@@ -74,6 +75,9 @@ const CPlusPlus::Macro CPPTOOLS_EXPORT *findCanonicalMacro(const QTextCursor &cu
QString CPPTOOLS_EXPORT correspondingHeaderOrSource(const QString &fileName, bool *wasHeader = 0);
void CPPTOOLS_EXPORT switchHeaderSource();
+int fileSizeLimit();
+bool skipFileDueToSizeLimit(const QFileInfo &fileInfo, int limitInMB = fileSizeLimit());
+
} // CppTools
#endif // CPPTOOLSREUSE_H