shiny.go 787 B

1234567891011121314151617181920212223242526272829303132
  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. // driverShowVirtualKeyboard does nothing on desktop
  14. func driverShowVirtualKeyboard(KeyboardType) {
  15. }
  16. // driverHideVirtualKeyboard does nothing on desktop
  17. func driverHideVirtualKeyboard() {
  18. }
  19. // driverShowFileOpenPicker does nothing on desktop
  20. func driverShowFileOpenPicker(func(string, func()), *FileFilter) {
  21. }
  22. // driverShowFileSavePicker does nothing on desktop
  23. func driverShowFileSavePicker(func(string, func()), *FileFilter, string) {
  24. }