///
/// HybridNativeLinearListLayoutSpec.hpp
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
/// https://github.com/mrousavy/nitro
/// Copyright © 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 `NativeLinearListLayoutConfig` to properly resolve imports.
namespace margelo::nitro::reactnativelist { struct NativeLinearListLayoutConfig; }
// Forward declaration of `HybridNativeListLayoutSpec` to properly resolve imports.
namespace margelo::nitro::reactnativelist { class HybridNativeListLayoutSpec; }

#include "NativeLinearListLayoutConfig.hpp"
#include <memory>
#include "HybridNativeListLayoutSpec.hpp"

namespace margelo::nitro::reactnativelist {

  using namespace margelo::nitro;

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

      // Destructor
      ~HybridNativeLinearListLayoutSpec() override = default;

    public:
      // Properties
      

    public:
      // Methods
      virtual void setConfig(const NativeLinearListLayoutConfig& config) = 0;

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

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

} // namespace margelo::nitro::reactnativelist
