xref: /third_party/skia/tools/mdbviz/main.cpp
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/skia/tools/mdbviz/
1cb93a386Sopenharmony_ci/*
2cb93a386Sopenharmony_ci * Copyright 2017 Google Inc.
3cb93a386Sopenharmony_ci *
4cb93a386Sopenharmony_ci * Use of this source code is governed by a BSD-style license that can be
5cb93a386Sopenharmony_ci * found in the LICENSE file.
6cb93a386Sopenharmony_ci */
7cb93a386Sopenharmony_ci
8cb93a386Sopenharmony_ci#include <QtWidgets>
9cb93a386Sopenharmony_ci
10cb93a386Sopenharmony_ci#include "tools/mdbviz/mainwindow.h"
11cb93a386Sopenharmony_ci
12cb93a386Sopenharmony_ciint main(int argc, char *argv[])
13cb93a386Sopenharmony_ci{
14cb93a386Sopenharmony_ci    QApplication app(argc, argv);
15cb93a386Sopenharmony_ci    QCoreApplication::setOrganizationName("Google");
16cb93a386Sopenharmony_ci    QCoreApplication::setApplicationName("MDB Viz");
17cb93a386Sopenharmony_ci    QCoreApplication::setApplicationVersion("0.0");
18cb93a386Sopenharmony_ci
19cb93a386Sopenharmony_ci    QCommandLineParser parser;
20cb93a386Sopenharmony_ci    parser.setApplicationDescription(QCoreApplication::applicationName());
21cb93a386Sopenharmony_ci    parser.addVersionOption();
22cb93a386Sopenharmony_ci    parser.process(app);
23cb93a386Sopenharmony_ci
24cb93a386Sopenharmony_ci    MainWindow mainWin;
25cb93a386Sopenharmony_ci    mainWin.show();
26cb93a386Sopenharmony_ci
27cb93a386Sopenharmony_ci    return app.exec();
28cb93a386Sopenharmony_ci}
29cb93a386Sopenharmony_ci
30cb93a386Sopenharmony_ci
31

Indexes created Thu Nov 07 10:32:03 CST 2024