5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 15:11:53 +08:00
wails/v2/internal/go-common-file-dialog/cfd/CommonFileDialog_nonWindows.go
2023-11-12 12:30:49 +11:00

29 lines
630 B
Go

//go:build !windows
// +build !windows
package cfd
import "fmt"
var errUnsupported = fmt.Errorf("common file dialogs are only available on windows")
// TODO doc
func NewOpenFileDialog(config DialogConfig) (OpenFileDialog, error) {
return nil, errUnsupported
}
// TODO doc
func NewOpenMultipleFilesDialog(config DialogConfig) (OpenMultipleFilesDialog, error) {
return nil, errUnsupported
}
// TODO doc
func NewSelectFolderDialog(config DialogConfig) (SelectFolderDialog, error) {
return nil, errUnsupported
}
// TODO doc
func NewSaveFileDialog(config DialogConfig) (SaveFileDialog, error) {
return nil, errUnsupported
}