github.com/AlpineAIO/wails/v2@v2.0.0-beta.32.0.20240505041856-1047a8fa5fef/internal/go-common-file-dialog/cfd/CommonFileDialog_nonWindows.go (about)

     1  //go:build !windows
     2  // +build !windows
     3  
     4  package cfd
     5  
     6  import "fmt"
     7  
     8  var errUnsupported = fmt.Errorf("common file dialogs are only available on windows")
     9  
    10  // TODO doc
    11  func NewOpenFileDialog(config DialogConfig) (OpenFileDialog, error) {
    12  	return nil, errUnsupported
    13  }
    14  
    15  // TODO doc
    16  func NewOpenMultipleFilesDialog(config DialogConfig) (OpenMultipleFilesDialog, error) {
    17  	return nil, errUnsupported
    18  }
    19  
    20  // TODO doc
    21  func NewSelectFolderDialog(config DialogConfig) (SelectFolderDialog, error) {
    22  	return nil, errUnsupported
    23  }
    24  
    25  // TODO doc
    26  func NewSaveFileDialog(config DialogConfig) (SaveFileDialog, error) {
    27  	return nil, errUnsupported
    28  }