/*
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_NIX_H_
#define _APP_INFO_NIX_H_

#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 "/usr/share/juffed"; }
    static QString pluginsPath()     { return libPath() + "/" + name().toLower() + "/plugins"; }

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

private:
    static QString libPath()         { return "/usr/lib/"; }
};

#endif
