blob: 5939bab499afc614de12319f55dc6d2f837aa181 [file] [log] [blame]
Jared Lindblom06405c42013-01-17 20:48:39 -08001/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil -*- */
2/*
3 * Copyright (c) 2012-2013 University of California, Los Angeles
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation;
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 *
18 * Author: Jared Lindblom <lindblom@cs.ucla.edu>
19 */
20
21#include "chronosharegui.h"
Alexander Afanasyev83a53002013-01-24 11:12:01 -080022#include "logging.h"
Jared Lindblom06405c42013-01-17 20:48:39 -080023#include <QApplication>
24
25int main(int argc, char *argv[])
26{
Alexander Afanasyev83a53002013-01-24 11:12:01 -080027 INIT_LOGGERS ();
Jared Lindblom06405c42013-01-17 20:48:39 -080028
Alexander Afanasyev83a53002013-01-24 11:12:01 -080029 QApplication app(argc, argv);
Jared Lindblomb4032e22013-01-17 23:50:51 -080030
Alexander Afanasyev83a53002013-01-24 11:12:01 -080031 // do not quit when last window closes
32 app.setQuitOnLastWindowClosed(false);
33
34 // invoke gui
35 ChronoShareGui gui;
36
37 return app.exec();
Jared Lindblom06405c42013-01-17 20:48:39 -080038}