///
/// HybridCameraSessionConfigSpec.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 `TargetStabilizationMode` to properly resolve imports.
namespace margelo::nitro::camera { enum class TargetStabilizationMode; }
// Forward declaration of `TargetDynamicRange` to properly resolve imports.
namespace margelo::nitro::camera { struct TargetDynamicRange; }
// Forward declaration of `PixelFormat` to properly resolve imports.
namespace margelo::nitro::camera { enum class PixelFormat; }
// Forward declaration of `AutoFocusSystem` to properly resolve imports.
namespace margelo::nitro::camera { enum class AutoFocusSystem; }

#include <optional>
#include "TargetStabilizationMode.hpp"
#include "TargetDynamicRange.hpp"
#include "PixelFormat.hpp"
#include "AutoFocusSystem.hpp"

namespace margelo::nitro::camera {

  using namespace margelo::nitro;

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

      // Destructor
      ~HybridCameraSessionConfigSpec() override = default;

    public:
      // Properties
      virtual std::optional<double> getSelectedFPS() = 0;
      virtual std::optional<TargetStabilizationMode> getSelectedVideoStabilizationMode() = 0;
      virtual std::optional<TargetStabilizationMode> getSelectedPreviewStabilizationMode() = 0;
      virtual std::optional<TargetDynamicRange> getSelectedVideoDynamicRange() = 0;
      virtual bool getIsPhotoHDREnabled() = 0;
      virtual PixelFormat getNativePixelFormat() = 0;
      virtual AutoFocusSystem getAutoFocusSystem() = 0;
      virtual bool getIsBinned() = 0;

    public:
      // Methods
      

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

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

} // namespace margelo::nitro::camera
