add file stub

This commit is contained in:
Alex Yatskov 2019-01-08 18:34:51 -08:00
parent 6da539496d
commit a02379c18b

22
platform/file.go Normal file
View File

@ -0,0 +1,22 @@
package platform
import "github.com/FooSoft/lazarus/formats/mpq"
var fileState struct {
mountPoints map[string]mpq.MpqArchive
}
type File struct {
}
func FileMountArchive(mountPath, archivePath string) error {
return nil
}
func FileUnmountArchive(mountPath string) error {
return nil
}
func FileOpen(path string) (*File, error) {
return nil, nil
}