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

public final class NitroDpiMetricAutolinking {
  public typealias bridge = margelo.nitro.dpimetric.bridge.swift

  /**
   * Creates an instance of a Swift class that implements `HybridNitroDpiMetricSpec`,
   * and wraps it in a Swift class that can directly interop with C++ (`HybridNitroDpiMetricSpec_cxx`)
   *
   * This is generated by Nitrogen and will initialize the class specified
   * in the `"autolinking"` property of `nitro.json` (in this case, `NitroDpiMetric`).
   */
  public static func createNitroDpiMetric() -> bridge.std__shared_ptr_HybridNitroDpiMetricSpec_ {
    let hybridObject = NitroDpiMetric()
    return { () -> bridge.std__shared_ptr_HybridNitroDpiMetricSpec_ in
      let __cxxWrapped = hybridObject.getCxxWrapper()
      return __cxxWrapped.getCxxPart()
    }()
  }
}
