///
/// HybridPluginManagerSpec.hpp
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
/// https://github.com/mrousavy/nitro
/// Copyright © 2025 Marc Rousavy @ Margelo
///

#pragma once

#if __has_include(<NitroModules/HybridObject.hpp>)
#include <NitroModules/HybridObject.hpp>
#else
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
#endif





namespace margelo::nitro::videodrm {

  using namespace margelo::nitro;

  /**
   * An abstract base class for `PluginManager`
   * Inherit this class to create instances of `HybridPluginManagerSpec` in C++.
   * You must explicitly call `HybridObject`'s constructor yourself, because it is virtual.
   * @example
   * ```cpp
   * class HybridPluginManager: public HybridPluginManagerSpec {
   * public:
   *   HybridPluginManager(...): HybridObject(TAG) { ... }
   *   // ...
   * };
   * ```
   */
  class HybridPluginManagerSpec: public virtual HybridObject {
    public:
      // Constructor
      explicit HybridPluginManagerSpec(): HybridObject(TAG) { }

      // Destructor
      ~HybridPluginManagerSpec() override = default;

    public:
      // Properties
      virtual bool getIsEnabled() = 0;

    public:
      // Methods
      virtual void enable() = 0;
      virtual void disable() = 0;

    protected:
      // Hybrid Setup
      void loadHybridMethods() override;

    protected:
      // Tag for logging
      static constexpr auto TAG = "PluginManager";
  };

} // namespace margelo::nitro::videodrm
