ember/main.cpp

23 lines
510 B
C++

#include <QApplication>
#include <storage/appdatastorage.h>
#include <business/projectmanager.h>
#include <ui/mainwindow.h>
#include <properties/config.h>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
a.setApplicationName(APP_NAME);
a.setApplicationDisplayName(APP_NAME);
a.setApplicationVersion(APP_VERSION);
Ember::AppDataStorage::initialize();
Ember::ProjectManager projectManager;
Ember::MainWindow w(&projectManager);
w.show();
return a.exec();
}