shared: Move textfile detector to common

This commit is contained in:
2022-05-30 20:03:40 +02:00
parent aed0ca31f7
commit 26c7cdbc5f
3 changed files with 28 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
#ifndef COMMON_H
#define COMMON_H
#include <QCoreApplication>
#include <QFileInfo>
namespace Common
{
void setupAppInfo();
@@ -12,5 +12,6 @@ QString findInPath(QString needle);
bool initSqliteDatabase(QString path);
void ensureConfigured();
QStringList excludedPaths();
bool isTextFile(QFileInfo fileInfo);
} // namespace Common
#endif