From 3ca766e0a5a9472000d463ce9edbb6c5abcc8565 Mon Sep 17 00:00:00 2001 From: Comment Date: Thu, 22 Aug 2013 09:51:50 +0100 Subject: working on json loader --- rotord/src/rotor.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rotord/src/rotor.h') diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h index 9427d83..cd4edb0 100755 --- a/rotord/src/rotor.h +++ b/rotord/src/rotor.h @@ -16,6 +16,7 @@ #include "Poco/Logger.h" #include "Poco/Path.h" #include "Poco/Base64Encoder.h" +#include "Poco/FileStream.h" #include "xmlIO.h" #include "utils.h" @@ -1050,6 +1051,7 @@ namespace Rotor { bool load(string data,string media_path); bool loadFile(string &filename,string media_path); bool parseXml(string media_path); + bool parseJson(string &data,string &media_path); bool set_resolution(int w,int h); bool loaded; float duration; -- cgit v1.2.3