mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-29 14:54:07 +00:00
16 lines
No EOL
324 B
C++
16 lines
No EOL
324 B
C++
// Copyright © SixtyFPS GmbH <info@slint.dev>
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
#pragma once
|
|
|
|
#include "slint.h"
|
|
#include "todo.h"
|
|
#include <memory>
|
|
|
|
struct AppState
|
|
{
|
|
slint::ComponentHandle<todo_ui::MainWindow> mainWindow;
|
|
std::shared_ptr<slint::VectorModel<todo_ui::TodoItem>> todo_model;
|
|
};
|
|
|
|
AppState create_ui(); |