mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 21:08:51 +00:00
30 lines
759 B
C#
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();
|
|
}
|
|
}
|
|
}
|