mirror of
https://github.com/redstrate/Novus.git
synced 2025-04-28 06:37:44 +00:00
29 lines
No EOL
743 B
C++
29 lines
No EOL
743 B
C++
// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#include <QApplication>
|
|
|
|
#include <QStyle>
|
|
#include <physis.hpp>
|
|
|
|
#include "aboutdata.h"
|
|
#include "mainwindow.h"
|
|
#include "settings.h"
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
QApplication app(argc, argv);
|
|
|
|
customizeAboutData(QStringLiteral("sagasu"), QStringLiteral("Sagasu"), QStringLiteral("Program to explore FFXIV data archives."));
|
|
|
|
physis_initialize_logging();
|
|
|
|
app.setStyle(QStringLiteral("Windows"));
|
|
|
|
const QString gameDir{getGameDirectory()};
|
|
const std::string gameDirStd{gameDir.toStdString()};
|
|
MainWindow w(physis_gamedata_initialize(gameDirStd.c_str()));
|
|
w.show();
|
|
|
|
return app.exec();
|
|
} |