Files
pilotclient/src/swiftguistandard/main.cpp
Klaus Basan 158efe819a refs #485, first version of a Gui/Core application class
Also specialized GUI application class for standard GUI
2016-03-18 01:08:02 +00:00

35 lines
985 B
C++

/* Copyright (C) 2013
* swift project Community / Contributors
*
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
* including this file, may be copied, modified, propagated, or distributed except according to the terms
* contained in the LICENSE file.
*/
#include "swiftguistd.h"
#include "swiftguistdapplication.h"
#include "blackgui/enableforframelesswindow.h"
#include <QtGlobal>
#include <QPushButton>
#include <QProcessEnvironment>
using namespace BlackGui;
using namespace BlackMisc;
using namespace BlackCore;
int main(int argc, char *argv[])
{
CSwiftGuiStdApplication a(argc, argv);
a.startCoreFacade();
// show window
CEnableForFramelessWindow::WindowMode windowMode = a.getWindowMode();
SwiftGuiStd w(windowMode);
w.show();
int r = a.exec();
return r;
}