/**
 * Processing OpenCV jni wrapper
 */







#include "hypermedia_video_OpenCV.h"
#include "ofxOpenCV.h"
#include "hypermedia_video_OpenKinect.h"
//#include "ofxOpenKinect.h"








#include <map>
#include <string>
#include <iostream>

using namespace std;



/**
 * A list of all objects instantiate :
 *
 *    - key <string>		-> associated java object instance
 *	  - value <ofxOpenCV*>	-> pointer to the asociated C++ object
 */
map<string,ofxOpenCV*> instances;


//map<string,ofxOpenKinect*> kinects;


/////////////////// FUNCTION DECLARATION (except Java native methods) //////////////////////////////


string javaObjectInstance( JNIEnv *env, jobject obj, bool fromjava=false );
ofxOpenCV* whois( JNIEnv *env, jobject obj );

void updateJavaDim( JNIEnv * env, jobject obj, int width, int height );


//string javaKinectInstance( JNIEnv *env, jobject obj, bool fromjava=false );

