/*
This file was automatically generated by configure script.
All the changes you made will be lost after the next run
of configure script.
*/

#ifndef _APP_INFO_WIN_H_
#define _APP_INFO_WIN_H_

#include <QtCore/QCoreApplication>
#include <QtCore/QDir>
#include <QtCore/QLocale>
#include <QtCore/QString>

class AppInfo {
public:
    static QString name()            { return "JuffEd"; }
    static QString organization()    { return "Juff"; }
    static QString version()         { return "0.10"; }

    static QString dataDirPath()     { return QCoreApplication::applicationDirPath(); }
    static QString pluginsPath()     { return dataDirPath() + "/plugins"; }

    static QString configDirPath()   { return QDir::homePath() + "/.config/" + organization().toLower(); }
    static QString configFile()      { return configDirPath() + "/" + name().toLower() + ".ini"; }
    static QString translationPath() { return dataDirPath() + "/l10n"; }
    static QString logFile()         { return configDirPath() + "/juffed.log"; }
    static QString defaultPrjPath()  { return configDirPath() + "/empty_project.xml"; }
};

#endif
