From f3d44bc057201407373012b7f682881bda7b3d98 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Wed, 23 May 2012 07:44:30 +0000 Subject: some includes restored, mir_full.sln updated, some renaming of folders and projects git-svn-id: http://svn.miranda-ng.org/main/trunk@140 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/JSON/Source/JSON_Base64.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 plugins/JSON/Source/JSON_Base64.h (limited to 'plugins/JSON/Source/JSON_Base64.h') diff --git a/plugins/JSON/Source/JSON_Base64.h b/plugins/JSON/Source/JSON_Base64.h new file mode 100644 index 0000000000..1e2d76baa8 --- /dev/null +++ b/plugins/JSON/Source/JSON_Base64.h @@ -0,0 +1,14 @@ +#ifndef JSON_BASE64_H +#define JSON_BASE64_H + +#include "JSONDebug.h" +#ifdef JSON_BINARY //if this is not needed, don't waste space compiling it + +class JSONBase64 { +public: + static json_string json_encode64(const unsigned char * binary, size_t bytes); + static std::string json_decode64(const json_string & encoded); +}; + +#endif +#endif -- cgit v1.2.3