Cosmos/source2/Debug/Cosmos.Debug.VSDebugEngine/Host/VMWarePlayer.cs
2012-06-16 01:31:55 +00:00

30 lines
759 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Vestris.VMWareLib;
namespace Cosmos.Debug.VSDebugEngine.Host {
public class VMWarePlayer : VMWare {
public VMWarePlayer(string aVmxFile) : base(aVmxFile) {
}
public static bool IsInstalled {
get {
return GetPlayerPathname() != null;
}
}
protected override string GetParams() {
return "\"" + GetPlayerPathname() + "\" \"" + mVmxFile + "\"";
}
protected static string GetPlayerPathname() {
return GetPathname("VMware Player", "vmplayer.exe");
}
protected override void ConnectToVMWare(VMWareVirtualHost aHost) {
aHost.ConnectToVMWarePlayer();
}
}
}