-
Notifications
You must be signed in to change notification settings - Fork 15
/
main.cpp
30 lines (26 loc) · 1010 Bytes
/
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/***************************************************************************
* *
* Copyright (C) 2017 by University of Illinois *
* *
* http://illinois.edu *
* *
***************************************************************************/
/**
* @file main.cpp
*
* This is the entry point of the app.
*
* @author Bo Liu <[email protected]>
*
*/
#include "StationWindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
std::unique_ptr<Station> station { new Station };
std::unique_ptr<StationController> controller{ new StationController(station) };
std::unique_ptr<StationWindow> w { new StationWindow(controller) };
w->show();
return a.exec();
}