From deb3da15ea529f7360126b9ec5fc15a4a36b9b68 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Sat, 17 Dec 2022 17:47:42 +0000 Subject: [PATCH] remove constructor annotations --- lib/Voicemeeter.psm1 | 1 - lib/bus.ps1 | 1 - lib/command.ps1 | 1 - lib/macrobuttons.ps1 | 1 - lib/recorder.ps1 | 2 +- lib/vban.ps1 | 3 --- 6 files changed, 1 insertion(+), 8 deletions(-) diff --git a/lib/Voicemeeter.psm1 b/lib/Voicemeeter.psm1 index ad4de99..3bc01ec 100644 --- a/lib/Voicemeeter.psm1 +++ b/lib/Voicemeeter.psm1 @@ -11,7 +11,6 @@ class Remote { [Object]$recorder [Object]$profiles - # Constructor Remote ([String]$kind_id) { $this.kind = GetKind($kind_id) $this.Setup() diff --git a/lib/bus.ps1 b/lib/bus.ps1 index cebcfcc..c8198f8 100644 --- a/lib/bus.ps1 +++ b/lib/bus.ps1 @@ -34,7 +34,6 @@ class Bus : IBus { [Object]$mode [Object]$eq - # Constructor Bus ([int]$index, [Object]$remote) : base ($index, $remote) { AddBoolMembers -PARAMS @('mono', 'mute') AddStringMembers -PARAMS @('label') diff --git a/lib/command.ps1 b/lib/command.ps1 index 1919925..8067d78 100644 --- a/lib/command.ps1 +++ b/lib/command.ps1 @@ -1,7 +1,6 @@ . $PSScriptRoot\meta.ps1 class Special { - # Constructor Special () { AddActionMembers -PARAMS @('restart', 'shutdown', 'show') } diff --git a/lib/macrobuttons.ps1 b/lib/macrobuttons.ps1 index 9e95777..f95e373 100644 --- a/lib/macrobuttons.ps1 +++ b/lib/macrobuttons.ps1 @@ -1,7 +1,6 @@ class MacroButton { [int32]$index - # Constructor MacroButton ([int]$index) { $this.index = $index } diff --git a/lib/recorder.ps1 b/lib/recorder.ps1 index 51a6343..a1fa76a 100644 --- a/lib/recorder.ps1 +++ b/lib/recorder.ps1 @@ -2,7 +2,7 @@ class Recorder { [Object]$remote - # Constructor + Recorder ([Object]$remote) { $this.remote = $remote diff --git a/lib/vban.ps1 b/lib/vban.ps1 index 4b8c742..d1c3a8f 100644 --- a/lib/vban.ps1 +++ b/lib/vban.ps1 @@ -29,7 +29,6 @@ class IVban { } class Vban : IVban { - # Constructor Vban ([int]$index, [string]$direction) : base ($index, $direction) { } @@ -174,14 +173,12 @@ class Vban : IVban { class VbanInstream : Vban { - # Constructor VbanInstream ([int]$index, [string]$direction) : base ($index, $direction) { } } class VbanOutstream : Vban { - # Constructor VbanOutstream ([int]$index, [string]$direction) : base ($index, $direction) { } }