19 lines
411 B
C++
19 lines
411 B
C++
#ifndef COMMON_H
|
|
#define COMMON_H
|
|
#include <QCoreApplication>
|
|
#include <QFileInfo>
|
|
namespace Common
|
|
{
|
|
void setupAppInfo();
|
|
QString databasePath();
|
|
QString ipcSocketPath();
|
|
void setPdfViewer();
|
|
QString findInPath(QString needle);
|
|
bool initSqliteDatabase(QString path);
|
|
void ensureConfigured();
|
|
QStringList excludedPaths();
|
|
bool isTextFile(QFileInfo fileInfo);
|
|
QString versionText();
|
|
} // namespace Common
|
|
#endif
|