mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-06 06:19:52 +08:00
29 lines
516 B
C++
29 lines
516 B
C++
#ifndef DOCSUTILS_H
|
|
#define DOCSUTILS_H
|
|
|
|
#include <QStringList>
|
|
|
|
namespace vnotex
|
|
{
|
|
class DocsUtils
|
|
{
|
|
public:
|
|
DocsUtils() = delete;
|
|
|
|
static QString getDocText(const QString &p_baseName);
|
|
|
|
static QString getDocFile(const QString &p_baseName);
|
|
|
|
static void addSearchPath(const QString &p_path);
|
|
|
|
static void setLocale(const QString &p_locale);
|
|
|
|
private:
|
|
static QStringList s_searchPaths;
|
|
|
|
static QString s_locale;
|
|
};
|
|
}
|
|
|
|
#endif // DOCSUTILS_H
|