add windows stub
This commit is contained in:
1 parent
e4dc8bd473
commit
321388b98d
13 files changed
+103
No files matched your search
@@ -0,0 +1,14 @@
|
||||
import WinUIBackend
|
||||
import SwiftCrossUI
|
||||
|
||||
@main
|
||||
struct HPApp: App {
|
||||
let delegate = HPAppDelegate()
|
||||
|
||||
var body: some Scene {
|
||||
WindowGroup("Hello platform") {
|
||||
HPView(delegate.hpVM)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
import SwiftCrossUI
|
||||
|
||||
final class HPAppDelegate {
|
||||
let hp = HPComponent()
|
||||
let hpVM = HPVM()
|
||||
|
||||
init() {
|
||||
otherSetupConsoleLogging(hp.ctrl, "HP")
|
||||
hp.setup()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
../../ver-mac/src/dialect.swift
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../components/hp/linux/hp.swift
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../components/hp/linux/hpVM.swift
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../../components/hp/linux/view/HPView.swift
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../components/other/other.swift
|
||||
Reference in new issue
Block a user