2014-02-11 15:14:15 -06:00
// 11 february 2014
package main
import (
"runtime"
)
// The sysData type contains all system data. It provides the system-specific underlying implementation. It is guaranteed to have the following by embedding:
type cSysData struct {
ctype int
2014-02-11 17:22:39 -06:00
// for Window
closing chan struct { }
2014-02-11 15:14:15 -06:00
}
2014-02-12 09:51:27 -06:00
func ( c * cSysData ) make ( initText string , initWidth int , initHeight int ) error {
2014-02-11 15:14:15 -06:00
panic ( runtime . GOOS + " sysData does not define make()" )
}
func ( c * cSysData ) show ( ) error {
panic ( runtime . GOOS + " sysData does not define show()" )
}
2014-02-11 17:57:03 -06:00
func ( c * cSysData ) hide ( ) error {
2014-02-11 15:14:15 -06:00
panic ( runtime . GOOS + " sysData does not define hide()" )
}
const (
c_window = iota
c_button
2014-02-11 18:09:10 -06:00
nctypes
2014-02-11 15:14:15 -06:00
)