1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-25 21:27:45 +00:00
novus/exdviewer/src/main.cpp

22 lines
639 B
C++
Raw Normal View History

// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
// SPDX-License-Identifier: GPL-3.0-or-later
2022-03-16 00:31:24 -04:00
#include <QApplication>
#include <physis.hpp>
2022-03-15 15:34:38 -04:00
#include "aboutdata.h"
2022-03-16 00:31:24 -04:00
#include "mainwindow.h"
#include "settings.h"
2022-03-15 15:34:38 -04:00
int main(int argc, char* argv[]) {
2022-03-16 00:31:24 -04:00
QApplication app(argc, argv);
2022-03-15 15:34:38 -04:00
2023-10-10 17:55:39 -04:00
customizeAboutData(QStringLiteral("karuku"), QStringLiteral("Karuku"), QStringLiteral("Program to view FFXIV Excel files."));
const QString gameDir{getGameDirectory()};
const std::string gameDirStd{gameDir.toStdString()};
MainWindow w(physis_gamedata_initialize(gameDirStd.c_str()));
2022-03-16 00:31:24 -04:00
w.show();
2022-03-15 15:34:38 -04:00
2022-03-16 00:31:24 -04:00
return app.exec();
2022-03-15 15:34:38 -04:00
}