From 3726e496813e556e88baf5dc8acabe290a1a66f4 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Tue, 4 Mar 2014 12:35:35 +0000 Subject: https session not working --- test-instagram/src/testApp.h | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 test-instagram/src/testApp.h (limited to 'test-instagram/src/testApp.h') diff --git a/test-instagram/src/testApp.h b/test-instagram/src/testApp.h new file mode 100644 index 0000000..8e4168b --- /dev/null +++ b/test-instagram/src/testApp.h @@ -0,0 +1,39 @@ +#ifndef _TEST_APP +#define _TEST_APP + +#include "ofMain.h" + +#include "Poco/Net/HTTPSClientSession.h" +#include "Poco/Net/HTTPRequest.h" +#include "Poco/Net/HTTPResponse.h" +#include "Poco/URI.h" +#include "Poco/Net/InvalidCertificateHandler.h" +#include "Poco/Net/AcceptCertificateHandler.h" +#include "Poco/Net/SSLManager.h" + + +class testApp : public ofBaseApp{ + + public: + + void setup(); + void update(); + void draw(); + + void keyPressed (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(int x, int y, int button); + void windowResized(int w, int h); + + + + int counter; + string responseStr; + string requestStr; + string action_url; + +}; + +#endif -- cgit v1.2.3