#ifndef _TEST_APP
#define _TEST_APP

#include "ofMain.h"

#define OF_ADDON_USING_OF_NETWORK
#define OF_ADDON_USING_OBJLOADER
#define OF_ADDON_USING_OF_OPEN_CV
#define OF_ADDON_USING_OFDIRLIST
#define OF_ADDON_USING_OFXMLSETTINGS
#define OF_ADDON_USING_OFVECTORMATH
#define OF_ADDON_USING_OFOSC
#define OF_ADDON_USING_OF_DIRLIST
#define OF_ADDON_USING_OFTHREAD

#include "ofAddons.h"


class testApp : public ofSimpleApp{
	
	public:
		
		void setup();
		void update();
		void draw();
		
		void keyPressed(int key);
		void keyReleased(int key);
		void mouseMoved(int x, int y );
		void mouseDragged(int x, int y, int button);
		void mousePressed(int x, int y, int button);
		void mouseReleased();

		ofOscSender osc_sender;
		ofOscReceiver osc_receiver;
		
		ofCvGrayscaleImage cvGrey;
		
		ofDirList listDir;
		
		ofThread aThread;

		ofVec2f pos;
		ofPoint2f dest;

		ofXMLSettings xml;		
		ofTCPClient client;
		ofTCPServer server;
	
		objLoader obj; 
		ofUDPManager udp;
};

#endif	

