Albert S
b6926d510f
We now resolve symlinks when adding, so we can properly check whether a path is excluded or not. This accidently also helps with duplicates. Excluded paths are hardcoded and can also be appended to by the user using the settings. Closes: #34
17 خطوط
331 B
C++
17 خطوط
331 B
C++
#ifndef COMMON_H
|
|
#define COMMON_H
|
|
#include <QCoreApplication>
|
|
|
|
namespace Common
|
|
{
|
|
void setupAppInfo();
|
|
QString databasePath();
|
|
QString ipcSocketPath();
|
|
void setPdfViewer();
|
|
QString findInPath(QString needle);
|
|
bool initSqliteDatabase(QString path);
|
|
void ensureConfigured();
|
|
QStringList excludedPaths();
|
|
} // namespace Common
|
|
#endif
|