From ab15c236a7faddc851d082f5c76c52720a9a3dda Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Mon, 21 Nov 2022 15:03:53 -0600 Subject: rename OperationMode to RelayMode --- src/slskd/Relay/Types/OperationMode.cs | 40 ---------------------------------- src/slskd/Relay/Types/RelayMode.cs | 40 ++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 40 deletions(-) delete mode 100644 src/slskd/Relay/Types/OperationMode.cs create mode 100644 src/slskd/Relay/Types/RelayMode.cs (limited to 'src/slskd/Relay/Types') diff --git a/src/slskd/Relay/Types/OperationMode.cs b/src/slskd/Relay/Types/OperationMode.cs deleted file mode 100644 index c572f0da..00000000 --- a/src/slskd/Relay/Types/OperationMode.cs +++ /dev/null @@ -1,40 +0,0 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. -// - -namespace slskd.Relay -{ - /// - /// The relay operation mode. - /// - public enum OperationMode - { - /// - /// Controller operation mode. - /// - Controller = 0, - - /// - /// Agent operation mode. - /// - Agent = 1, - - /// - /// Debug mode; enables operation as both a controller and agent. - /// - Debug = 2, - } -} diff --git a/src/slskd/Relay/Types/RelayMode.cs b/src/slskd/Relay/Types/RelayMode.cs new file mode 100644 index 00000000..d45a8933 --- /dev/null +++ b/src/slskd/Relay/Types/RelayMode.cs @@ -0,0 +1,40 @@ +// +// Copyright (c) slskd Team. All rights reserved. +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see https://www.gnu.org/licenses/. +// + +namespace slskd.Relay +{ + /// + /// The relay mode. + /// + public enum RelayMode + { + /// + /// Controller mode. + /// + Controller = 0, + + /// + /// Agent mode. + /// + Agent = 1, + + /// + /// Debug mode; enables operation as both a controller and agent. + /// + Debug = 2, + } +} -- cgit v1.2.3