Dale GlassMany improvements:25755f93 years agoHistory
32 lines · 807 B · C++
RawDownload
////  main.cpp//  assignment-client/src////  Created by Stephen Birarda on 8/22/13.//  Copyright 2013 High Fidelity, Inc.////  Distributed under the Apache License, Version 2.0.//  See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html// #include <BuildInfo.h>#include <SharedUtil.h> #include "AssignmentClientApp.h"#include <crash-handler/CrashHandler.h>  int main(int argc, char* argv[]) {    setupHifiApplication(BuildInfo::ASSIGNMENT_CLIENT_NAME);     AssignmentClientApp app(argc, argv);    auto &ch = CrashHandler::getInstance();    ch.startMonitor(&app);      int acReturn = app.exec();    qDebug() << "assignment-client process" <<  app.applicationPid() << "exiting with status code" << acReturn;     qInfo() << "Quitting.";    return acReturn;}