// Copyright © SixtyFPS GmbH // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial #pragma once #if defined(_WIN32) || defined(_WIN64) # include typedef HWND WINDOW_HANDLE; #endif struct MyWindowAdapter; class AppView { MyWindowAdapter *myWindow = nullptr; public: AppView(); void attachToWindow(WINDOW_HANDLE winId); void setGeometry(int x, int y, int width, int height); };