///
/// HybridNativeCNContactStoreSpec.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 `HybridNativeCNContactSpec` to properly resolve imports.
namespace margelo::nitro::one { class HybridNativeCNContactSpec; }
// Forward declaration of `HybridNativeCNKeyDescriptorSpec` to properly resolve imports.
namespace margelo::nitro::one { class HybridNativeCNKeyDescriptorSpec; }

#include <memory>
#include "HybridNativeCNContactSpec.hpp"
#include <NitroModules/Promise.hpp>
#include <string>
#include <vector>
#include "HybridNativeCNKeyDescriptorSpec.hpp"

namespace margelo::nitro::one {

  using namespace margelo::nitro;

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

      // Destructor
      ~HybridNativeCNContactStoreSpec() override = default;

    public:
      // Properties


    public:
      // Methods
      virtual std::shared_ptr<Promise<std::shared_ptr<HybridNativeCNContactSpec>>> unifiedContact(const std::string& withIdentifier, const std::vector<std::string>& keys, const std::vector<std::shared_ptr<HybridNativeCNKeyDescriptorSpec>>& descriptors) = 0;

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

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

} // namespace margelo::nitro::one
