toptensoftware / VBoxHeadlessTray

Run a VirtualBox machine in a tray icon
180 stars 23 forks source link

Update to support VirtualBox v5 API #17

Closed adhawkins closed 8 years ago

adhawkins commented 8 years ago

There are two distinct commits in this pull request, only one is specifically required.

This handles the move of the SaveState method from the IConsole interface to the IMachine interface. This only works on an IMachine retrieved from a Session.

The second commit replaces calls to VBoxManage with calls into the API. It seems cleaner to me to do things via the API if at all possible.

Comments appreciated.

Andy