view src/main.cc @ 179:9c4645100fec

osx: clean up includes, we do not need cocoa what we *do* need is the very basics that animia already depends on anyway. these are basically guaranteed to be on any macos system, making it fairly portable now... I haven't tested this :) I don't have a macos machine right now...
author Paper <mrpapersonic@gmail.com>
date Mon, 04 Dec 2023 12:03:36 -0500
parents 122fad646f81
children 975a3f0965e2
line wrap: on
line source

#include "core/session.h"
#include "core/anime_db.h"
#include "gui/window.h"
#include <QApplication>
#include <QStyleFactory>
#include <QTranslator>
#include <QLocale>

Session session;

int main(int argc, char** argv) {
	QApplication app(argc, argv);

	session.config.Load();
	Anime::db.LoadDatabaseFromDisk();

	MainWindow window;

	window.resize(941, 750);
	window.setWindowTitle("Minori");
	window.show();

	return app.exec();
}