view src/main.cc @ 134:54c9d36207db

settings/recognition: implement real media player stuff
author Paper <mrpapersonic@gmail.com>
date Thu, 09 Nov 2023 13:53:04 -0500
parents 39521c47c7a3
children 6fdf0632c003
line wrap: on
line source

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

Session session;

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

	session.config.Load();
	Track::Types::LoadPlayers(session.recognition.players);
	Track::Types::LoadExtensions(session.recognition.extensions);

	MainWindow window;

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

	return app.exec();
}