Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- object Installers extends Enumeration {
- val MAC = new Value("Intel Mac", "macosx.carbon.x86", "mac-install.xml")
- val LIN32 = new Value("Linux x86", "linux.gtk.x86", "lin-install.xml")
- val WIN = new Value("Windows", "win32.win32.x86","win-install.xml")
- class Value(name:String, cplatform:String, installerFile:String) extends Val(nextId, name) {
- nextId=nextId+1
- val file = installerFile
- val platform = cplatform
- lazy val writer = newWriter
- def newWriter() = new java.io.FileWriter( file )
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement