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

#pragma once

#include "color.hpp"
#include "djinni_support.hpp"

namespace djinni_generated {

class NativeColor final : ::djinni::JniEnum {
public:
    using CppType = ::color;
    using JniType = jobject;

    using Boxed = NativeColor;

    static CppType toCpp(JNIEnv* jniEnv, JniType j) { return static_cast<CppType>(::djinni::JniClass<NativeColor>::get().ordinal(jniEnv, j)); }
    static ::djinni::LocalRef<JniType> fromCpp(JNIEnv* jniEnv, CppType c) { return ::djinni::JniClass<NativeColor>::get().create(jniEnv, static_cast<jint>(c)); }

private:
    NativeColor() : JniEnum("com/dropbox/djinni/test/Color") {}
    friend ::djinni::JniClass<NativeColor>;
};

}  // namespace djinni_generated
