shared: Move textfile detector to common

Tento commit je obsažen v:
2022-05-30 20:03:40 +02:00
rodič aed0ca31f7
revize 26c7cdbc5f
3 změnil soubory, kde provedl 28 přidání a 14 odebrání

Zobrazit soubor

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