| /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */ |
| * Copyright (c) 2013, Regents of the University of California |
| * BSD license, See the LICENSE file for more information |
| * Author: Yingdi Yu <yingdi@cs.ucla.edu> |
| // #include <QSystemTrayIcon> |
| #include "controller.hpp" |
| #include <ndn-cxx/face.hpp> |
| #include <boost/thread/thread.hpp> |
| class NewApp : public QApplication |
| NewApp(int& argc, char** argv) |
| : QApplication(argc, argv) |
| notify(QObject* receiver, QEvent* event) |
| return QApplication::notify(receiver, event); |
| catch (std::exception& e) { |
| std::cerr << "Exception thrown:" << e.what() << std::endl; |
| int main(int argc, char *argv[]) |
| chronochat::Controller controller; |
| app.setQuitOnLastWindowClosed(false); |