shared: Move textfile detector to common

This commit is contained in:
2022-05-30 20:03:40 +02:00
vanhempi aed0ca31f7
commit 26c7cdbc5f
3 muutettua tiedostoa jossa 28 lisäystä ja 14 poistoa

Näytä tiedosto

@ -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