voicemeeter-api-powershell/lib/voicemeeter.ps1
onyx-and-iris 94be34b3da added custom error classes
Added CAPI and Login custom error classes.

Cleaned up output when error is thrown.
2021-04-29 20:23:02 +01:00

28 lines
482 B
PowerShell

. $PSScriptRoot\base.ps1
class Remote {
[String]$type
[System.Collections.ArrayList]$button
[System.Collections.ArrayList]$strip
[System.Collections.ArrayList]$bus
# Constructor
Remote ([String]$type)
{
$this.type = $type
$this.Setup()
}
[void] Setup () {
Login -TYPE $this.type
$this.button = Buttons
$this.strip = Strips
$this.bus = Buses
}
[void] Logout () {
Logout
}
}