mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2024-11-23 18:30:49 +00:00
move all require statements into top level file
This commit is contained in:
parent
b207e7cc24
commit
e989e72e51
@ -1,4 +1,36 @@
|
||||
require "yaml"
|
||||
require "pathname"
|
||||
require "win32/registry"
|
||||
require "ffi"
|
||||
require "date"
|
||||
require "logger"
|
||||
|
||||
require_relative "voicemeeter/logger"
|
||||
require_relative "voicemeeter/worker"
|
||||
require_relative "voicemeeter/event"
|
||||
require_relative "voicemeeter/util"
|
||||
require_relative "voicemeeter/meta"
|
||||
require_relative "voicemeeter/iremote"
|
||||
require_relative "voicemeeter/mixins"
|
||||
require_relative "voicemeeter/install"
|
||||
|
||||
require_relative "voicemeeter/base"
|
||||
require_relative "voicemeeter/bus"
|
||||
require_relative "voicemeeter/button"
|
||||
require_relative "voicemeeter/cbindings"
|
||||
require_relative "voicemeeter/command"
|
||||
require_relative "voicemeeter/configs"
|
||||
require_relative "voicemeeter/device"
|
||||
require_relative "voicemeeter/errors"
|
||||
require_relative "voicemeeter/fx"
|
||||
require_relative "voicemeeter/kinds"
|
||||
require_relative "voicemeeter/midi"
|
||||
require_relative "voicemeeter/option"
|
||||
require_relative "voicemeeter/patch"
|
||||
require_relative "voicemeeter/recorder"
|
||||
require_relative "voicemeeter/remote"
|
||||
require_relative "voicemeeter/strip"
|
||||
require_relative "voicemeeter/vban"
|
||||
|
||||
module Voicemeeter
|
||||
end
|
||||
|
@ -1,13 +1,3 @@
|
||||
require_relative "install"
|
||||
require_relative "cbindings"
|
||||
require_relative "kinds"
|
||||
require_relative "midi"
|
||||
require_relative "event"
|
||||
require_relative "worker"
|
||||
require_relative "errors"
|
||||
require_relative "util"
|
||||
require_relative "logger"
|
||||
|
||||
module Voicemeeter
|
||||
class Base
|
||||
# Base class for Remote types
|
||||
|
@ -1,7 +1,3 @@
|
||||
require_relative "iremote"
|
||||
require_relative "kinds"
|
||||
require_relative "mixins"
|
||||
|
||||
module Voicemeeter
|
||||
module Bus
|
||||
class Base
|
||||
|
@ -1,7 +1,3 @@
|
||||
require_relative "iremote"
|
||||
require_relative "meta"
|
||||
require_relative "logger"
|
||||
|
||||
module Voicemeeter
|
||||
module Button
|
||||
module ButtonEnum
|
||||
|
@ -1,8 +1,3 @@
|
||||
require_relative "install"
|
||||
require_relative "errors"
|
||||
require_relative "util"
|
||||
require_relative "logger"
|
||||
|
||||
module Voicemeeter
|
||||
module CBindings
|
||||
# Ruby bindings for the C-API functions
|
||||
|
@ -1,6 +1,3 @@
|
||||
require_relative "iremote"
|
||||
require_relative "meta"
|
||||
|
||||
module Voicemeeter
|
||||
class Command
|
||||
include IRemote
|
||||
|
@ -1,10 +1,3 @@
|
||||
require "yaml"
|
||||
require "pathname"
|
||||
|
||||
require_relative "kinds"
|
||||
require_relative "logger"
|
||||
require_relative "errors"
|
||||
|
||||
module Voicemeeter
|
||||
module Configs
|
||||
class TOMLConfBuilder
|
||||
|
@ -1,6 +1,3 @@
|
||||
require_relative "iremote"
|
||||
require_relative "meta"
|
||||
|
||||
module Voicemeeter
|
||||
class Device
|
||||
def initialize(remote)
|
||||
|
@ -1,5 +1,3 @@
|
||||
require_relative "util"
|
||||
|
||||
module Voicemeeter
|
||||
module Errors
|
||||
class VMError < StandardError; end
|
||||
|
@ -1,5 +1,3 @@
|
||||
require_relative "logger"
|
||||
|
||||
module Voicemeeter
|
||||
module Events
|
||||
module Callback
|
||||
|
@ -1,5 +1,3 @@
|
||||
require_relative "iremote"
|
||||
|
||||
module Voicemeeter
|
||||
class Fx
|
||||
include IRemote
|
||||
|
@ -1,10 +1,3 @@
|
||||
require "win32/registry"
|
||||
require "pathname"
|
||||
require "ffi"
|
||||
|
||||
require_relative "logger"
|
||||
require_relative "errors"
|
||||
|
||||
module Voicemeeter
|
||||
private
|
||||
|
||||
|
@ -1,7 +1,3 @@
|
||||
require_relative "errors"
|
||||
require_relative "meta"
|
||||
require_relative "logger"
|
||||
|
||||
module Voicemeeter
|
||||
module IRemote
|
||||
# A commmon interface between the base Remote class and extended classes.
|
||||
|
@ -1,5 +1,3 @@
|
||||
require "logger"
|
||||
|
||||
module Voicemeeter
|
||||
module Logging
|
||||
def logger
|
||||
|
@ -1,5 +1,3 @@
|
||||
require_relative "iremote"
|
||||
|
||||
module Voicemeeter
|
||||
module Option
|
||||
class Base
|
||||
|
@ -1,5 +1,3 @@
|
||||
require_relative "iremote"
|
||||
|
||||
module Voicemeeter
|
||||
module Patch
|
||||
class Base
|
||||
|
@ -1,10 +1,3 @@
|
||||
require_relative "iremote"
|
||||
require_relative "meta"
|
||||
require_relative "mixins"
|
||||
require_relative "errors"
|
||||
|
||||
require "date"
|
||||
|
||||
module Voicemeeter
|
||||
module Recorder
|
||||
module FileTypeEnum
|
||||
|
@ -1,18 +1,3 @@
|
||||
require_relative "base"
|
||||
require_relative "kinds"
|
||||
require_relative "errors"
|
||||
require_relative "strip"
|
||||
require_relative "bus"
|
||||
require_relative "button"
|
||||
require_relative "vban"
|
||||
require_relative "command"
|
||||
require_relative "recorder"
|
||||
require_relative "device"
|
||||
require_relative "fx"
|
||||
require_relative "patch"
|
||||
require_relative "option"
|
||||
require_relative "configs"
|
||||
|
||||
module Voicemeeter
|
||||
module Builder
|
||||
# Builder module for Remote factories.
|
||||
|
@ -1,7 +1,3 @@
|
||||
require_relative "iremote"
|
||||
require_relative "kinds"
|
||||
require_relative "mixins"
|
||||
|
||||
module Voicemeeter
|
||||
module Strip
|
||||
class Base
|
||||
|
@ -1,7 +1,3 @@
|
||||
require_relative "iremote"
|
||||
require_relative "meta"
|
||||
require_relative "errors"
|
||||
|
||||
module Voicemeeter
|
||||
module Vban
|
||||
class VbanStream
|
||||
|
@ -1,5 +1,5 @@
|
||||
module Voicemeeter
|
||||
module Version
|
||||
module VERSION
|
||||
module_function
|
||||
|
||||
def major
|
||||
@ -22,6 +22,4 @@ module Voicemeeter
|
||||
to_a.join(".")
|
||||
end
|
||||
end
|
||||
|
||||
VERSION = Version.to_s
|
||||
end
|
||||
|
@ -1,5 +1,3 @@
|
||||
require_relative "logger"
|
||||
|
||||
module Voicemeeter
|
||||
module Worker
|
||||
# Event threads, provides updates to observers
|
||||
|
Loading…
Reference in New Issue
Block a user