/*================================================================================
  code generated by: java2cpp
  author: Zoran Angelov, mailto://baldzar@gmail.com
  class: android.graphics.PorterDuffColorFilter
================================================================================*/


#ifndef J2CPP_INCLUDE_IMPLEMENTATION

#ifndef J2CPP_ANDROID_GRAPHICS_PORTERDUFFCOLORFILTER_HPP_DECL
#define J2CPP_ANDROID_GRAPHICS_PORTERDUFFCOLORFILTER_HPP_DECL


namespace j2cpp { namespace java { namespace lang { class Object; } } }
namespace j2cpp { namespace android { namespace graphics { class ColorFilter; } } }
namespace j2cpp { namespace android { namespace graphics { namespace PorterDuff_ { class Mode; } } } }


#include <android/graphics/ColorFilter.hpp>
#include <android/graphics/PorterDuff.hpp>
#include <java/lang/Object.hpp>


namespace j2cpp {

namespace android { namespace graphics {

	class PorterDuffColorFilter;
	class PorterDuffColorFilter
		: public object<PorterDuffColorFilter>
	{
	public:

		J2CPP_DECLARE_CLASS

		J2CPP_DECLARE_METHOD(0)

		explicit PorterDuffColorFilter(jobject jobj)
		: object<PorterDuffColorFilter>(jobj)
		{
		}

		operator local_ref<java::lang::Object>() const;
		operator local_ref<android::graphics::ColorFilter>() const;


		PorterDuffColorFilter(jint, local_ref< android::graphics::PorterDuff_::Mode > const&);
	}; //class PorterDuffColorFilter

} //namespace graphics
} //namespace android

} //namespace j2cpp

#endif //J2CPP_ANDROID_GRAPHICS_PORTERDUFFCOLORFILTER_HPP_DECL

#else //J2CPP_INCLUDE_IMPLEMENTATION

#ifndef J2CPP_ANDROID_GRAPHICS_PORTERDUFFCOLORFILTER_HPP_IMPL
#define J2CPP_ANDROID_GRAPHICS_PORTERDUFFCOLORFILTER_HPP_IMPL

namespace j2cpp {



android::graphics::PorterDuffColorFilter::operator local_ref<java::lang::Object>() const
{
	return local_ref<java::lang::Object>(get_jobject());
}

android::graphics::PorterDuffColorFilter::operator local_ref<android::graphics::ColorFilter>() const
{
	return local_ref<android::graphics::ColorFilter>(get_jobject());
}


android::graphics::PorterDuffColorFilter::PorterDuffColorFilter(jint a0, local_ref< android::graphics::PorterDuff_::Mode > const &a1)
: object<android::graphics::PorterDuffColorFilter>(
	call_new_object<
		android::graphics::PorterDuffColorFilter::J2CPP_CLASS_NAME,
		android::graphics::PorterDuffColorFilter::J2CPP_METHOD_NAME(0),
		android::graphics::PorterDuffColorFilter::J2CPP_METHOD_SIGNATURE(0)
	>(a0, a1)
)
{
}



J2CPP_DEFINE_CLASS(android::graphics::PorterDuffColorFilter,"android/graphics/PorterDuffColorFilter")
J2CPP_DEFINE_METHOD(android::graphics::PorterDuffColorFilter,0,"<init>","(ILandroid/graphics/PorterDuff$Mode;)V")

} //namespace j2cpp

#endif //J2CPP_ANDROID_GRAPHICS_PORTERDUFFCOLORFILTER_HPP_IMPL

#endif //J2CPP_INCLUDE_IMPLEMENTATION
