FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
codegen/codegen/style/main.cpp at master-codegen · AyuGram/codegen · GitHub
AyuGram
/
codegen
Public
forked from
desktop-app/codegen
Notifications
You must be signed in to change notification settings
Fork
20
Star
2
Code
Pull requests
2
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
codegen
/
codegen
/
style
/
main.cpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
28 lines (22 loc) · 728 Bytes
Breadcrumbs
codegen
/
codegen
/
style
/
main.cpp
Copy path
File metadata and controls
28 lines (22 loc) · 728 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//
This file is part of Desktop App Toolkit,
//
a set of libraries for developing nice desktop applications.
//
//
For license and copyright information please follow this link:
//
https://github.com/desktop-app/legal/blob/master/LEGAL
//
#
include
<
QtCore/QCoreApplication
>
#
include
"
codegen/style/options.h
"
#
include
"
codegen/style/processor.h
"
#
include
"
codegen/style/render_svg.h
"
int
main
(
int
argc,
char
*argv[]) {
QCoreApplication
app
(argc, argv);
auto
options =
codegen::style::parseOptions
();
if
(!options.
renderSvgInput
.
isEmpty
()) {
return
codegen::style::RenderSvg
(options);
}
if
(options.
inputPaths
.
isEmpty
()) {
return
-
1
;
}
codegen::style::Processor
processor
(options);
return
processor.
launch
();
}
Back
|
FazBrowse Home
|
New Git URL