///
/// HybridStrongRandomSpec.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

// Forward declaration of `ArrayBuffer` to properly resolve imports.
namespace NitroModules { class ArrayBuffer; }

#include <NitroModules/ArrayBuffer.hpp>

namespace margelo::nitro::nitrokryptom {

  using namespace margelo::nitro;

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

      // Destructor
      ~HybridStrongRandomSpec() override = default;

    public:
      // Properties
      

    public:
      // Methods
      virtual void fill(const std::shared_ptr<ArrayBuffer>& buffer) = 0;
      virtual void fillPrivate(const std::shared_ptr<ArrayBuffer>& buffer) = 0;

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

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

} // namespace margelo::nitro::nitrokryptom
