public override FileNode init(bitboardWorld world) { this.myworld = world; Console.WriteLine("procfs init"); this.myModules.Add(new Module("test", "", world)); return(this.myroot); }
public BEdit(bitboardWorld world, string path) { this.myWorld = world; InitializeComponent(); if (path != "" && path != null) { this.currentPath = path; this.Name = path; editFile = myWorld.agi.read(path, "", 0, 0); if (editFile != null && editFile.getType() == fileTypes.Text) richTextBox1.Text = editFile.getData(); } }
public ShellForm(bitboardWorld world) { InitializeComponent(); this.world = world; this.world.setStdOut(richTextBox1); this.addCommand(new echo()); this.addCommand(new write()); this.addCommand(new cat()); this.addCommand(new ls()); this.addCommand(new cls()); this.addCommand(new mkdir()); this.addCommand(new dump()); this.addCommand(new text()); this.addCommand(new cp()); Console.WriteLine("start path: "+ this.world.SysRoot); }
public ShellForm(bitboardWorld world) { InitializeComponent(); this.world = world; this.world.setStdOut(richTextBox1); this.addCommand(new echo()); this.addCommand(new write()); this.addCommand(new cat()); this.addCommand(new ls()); this.addCommand(new cls()); this.addCommand(new mkdir()); this.addCommand(new dump()); this.addCommand(new text()); this.addCommand(new cp()); Console.WriteLine("start path: " + this.world.SysRoot); }
public BEdit(bitboardWorld world, string path) { this.myWorld = world; InitializeComponent(); if (path != "" && path != null) { this.currentPath = path; this.Name = path; editFile = myWorld.agi.read(path, "", 0, 0); if (editFile != null && editFile.getType() == fileTypes.Text) { richTextBox1.Text = editFile.getData(); } } }
public override int Run(string[] args, bitboardWorld world) { this.myWorld = world; return this.main(args); }
public abstract int Run(string[] args, bitboardWorld world);
public override int Run(string[] args, bitboardWorld world) { this.myWorld = world; return(this.main(args)); }
public jsLoadable(bitboardWorld currentWorld) { this.world = currentWorld; this.web = new WebBrowser(); }
public override FileNode init(bitboardWorld world) { this.myworld = world; Console.WriteLine("procfs init"); this.myModules.Add(new Module("test", "", world)); return this.myroot; }
public Module(string name, string sourcefile, bitboardWorld host) { this.Name = name; this.myTask = new jsLoadable(host); }