/// <summary> /// Creates the platform for the specified project using the specified /// platform name. /// </summary> /// <param name="project">The project to create a platform for.</param> /// <param name="platformName">The name of the platform to create.</param> /// <returns></returns> public Platform CreatePlatform(Project project, string platformName) { Platform pl; switch (platformName.ToLower()) { case "picocomputer": pl = new PicoPlatform(project, Program.MainForm); break; default: throw new ArgumentException("Platform \"" + platformName + "\" is not supported.", "platformName"); } pl.Initialize(); return pl; }
public PicoGuiProvider(PicoPlatform platform) : base(platform) { }
public PicoEditorProvider(PicoPlatform platform) : base(platform) { }