| 123456789101112131415161718192021222324252627282930313233343536 |
- // Copyright 2015 The Go Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
- //go:build windows
- // +build windows
- package app
- import (
- "fmt"
- )
- func main(f func(a App)) {
- fmt.Errorf("Running mobile simulation mode does not currently work on Windows.")
- }
- func GoBack() {
- // When simulating mobile there are no other activities open (and we can't just force background)
- }
- // driverShowVirtualKeyboard does nothing on desktop
- func driverShowVirtualKeyboard(KeyboardType) {
- }
- // driverHideVirtualKeyboard does nothing on desktop
- func driverHideVirtualKeyboard() {
- }
- // driverShowFileOpenPicker does nothing on desktop
- func driverShowFileOpenPicker(func(string, func()), *FileFilter) {
- }
- // driverShowFileSavePicker does nothing on desktop
- func driverShowFileSavePicker(func(string, func()), *FileFilter, string) {
- }
|