mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-02 08:37:33 +00:00
C++ tutorial: Remove inline source in getting start
This commit is contained in:
parent
c540cbaf2d
commit
031acd77d3
5 changed files with 61 additions and 15 deletions
20
docs/tutorial/cpp/src/main_initial.cpp
Normal file
20
docs/tutorial/cpp/src/main_initial.cpp
Normal file
|
@ -0,0 +1,20 @@
|
|||
/* LICENSE BEGIN
|
||||
This file is part of the SixtyFPS Project -- https://sixtyfps.io
|
||||
Copyright (c) 2020 Olivier Goffart <olivier.goffart@sixtyfps.io>
|
||||
Copyright (c) 2020 Simon Hausmann <simon.hausmann@sixtyfps.io>
|
||||
|
||||
SPDX-License-Identifier: GPL-3.0-only
|
||||
This file is also available under commercial licensing terms.
|
||||
Please contact info@sixtyfps.io for more information.
|
||||
LICENSE END */
|
||||
// ANCHOR: main
|
||||
// main.cpp
|
||||
|
||||
#include "memory.h" // generated header from memory.60
|
||||
|
||||
int main()
|
||||
{
|
||||
auto main_window = MainWindow::create();
|
||||
main_window->run();
|
||||
}
|
||||
// ANCHOR_END: main
|
Loading…
Add table
Add a link
Reference in a new issue