slint/examples/printerdemo/cpp/main.cpp
Simon Hausmann f2eec61968 Add a window to the top-level component
This means that we always have a window and for the C++
API we don't require this ComponentWindow use anymore.
2020-08-11 13:38:38 +02:00

9 lines
122 B
C++

#include "printerdemo.h"
#include <iostream>
int main()
{
static MainWindow printer_demo;
printer_demo.run();
}