From 7ff3ebe50cd272176daff0de4aee32c1dc0f3320 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Mon, 9 Jan 2012 16:36:57 +0000 Subject: xmlising settings --- src/testApp.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/testApp.h') diff --git a/src/testApp.h b/src/testApp.h index 95aabf7..dadad43 100644 --- a/src/testApp.h +++ b/src/testApp.h @@ -25,19 +25,22 @@ have to track how many frames each key has been pressed for #define NOTHING 3 #include "ofMain.h" +#include "ofxXmlSettings.h" #include "ofx3DModelLoader.h" + #include "mapUtils.h" #include "viewpoint.h" - - class testApp : public ofBaseApp{ public: + ~testApp(); void setup(); void update(); void draw(); + void loadSettings(); + void saveSettings(); void keyPressed (int key); void keyReleased(int key); void mouseMoved(int x, int y ); @@ -58,4 +61,5 @@ class testApp : public ofBaseApp{ int mode; + ofxXmlSettings XML; }; -- cgit v1.2.3