// AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from duration.djinni

#pragma once

#include "djinni_support.hpp"
#include "test_duration.hpp"

namespace djinni_generated {

class NativeTestDuration final : ::djinni::JniInterface<::testsuite::TestDuration, NativeTestDuration> {
public:
    using CppType = std::shared_ptr<::testsuite::TestDuration>;
    using JniType = jobject;

    using Boxed = NativeTestDuration;

    ~NativeTestDuration();

    static CppType toCpp(JNIEnv* jniEnv, JniType j) { return ::djinni::JniClass<NativeTestDuration>::get()._fromJava(jniEnv, j); }
    static ::djinni::LocalRef<JniType> fromCpp(JNIEnv* jniEnv, const CppType& c) { return {jniEnv, ::djinni::JniClass<NativeTestDuration>::get()._toJava(jniEnv, c)}; }

private:
    NativeTestDuration();
    friend ::djinni::JniClass<NativeTestDuration>;
    friend ::djinni::JniInterface<::testsuite::TestDuration, NativeTestDuration>;

};

}  // namespace djinni_generated
