shiny.go 905 B

123456789101112131415161718192021222324252627282930313233343536
  1. // Copyright 2015 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. //go:build windows
  5. // +build windows
  6. package app
  7. import (
  8. "fmt"
  9. )
  10. func main(f func(a App)) {
  11. fmt.Errorf("Running mobile simulation mode does not currently work on Windows.")
  12. }
  13. func GoBack() {
  14. // When simulating mobile there are no other activities open (and we can't just force background)
  15. }
  16. // driverShowVirtualKeyboard does nothing on desktop
  17. func driverShowVirtualKeyboard(KeyboardType) {
  18. }
  19. // driverHideVirtualKeyboard does nothing on desktop
  20. func driverHideVirtualKeyboard() {
  21. }
  22. // driverShowFileOpenPicker does nothing on desktop
  23. func driverShowFileOpenPicker(func(string, func()), *FileFilter) {
  24. }
  25. // driverShowFileSavePicker does nothing on desktop
  26. func driverShowFileSavePicker(func(string, func()), *FileFilter, string) {
  27. }