From f4352588b67d1da2ab85bf767c6555560fb35cf1 Mon Sep 17 00:00:00 2001 From: methodus Date: Fri, 21 Sep 2012 04:19:40 +0200 Subject: Continued work on browsing. --- include/media/mediaManager.h | 2 +- include/tools.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/media/mediaManager.h b/include/media/mediaManager.h index 929181f..1ffa329 100644 --- a/include/media/mediaManager.h +++ b/include/media/mediaManager.h @@ -72,7 +72,7 @@ private: void Action(); bool CheckIntegrity(); - void CreateResponse(MediaRequest&, const string&); + int CreateResponse(MediaRequest&, const string&); void OnContainerUpdate(string uri, long updateID); diff --git a/include/tools.h b/include/tools.h index 3c2fcd3..bd82cd4 100644 --- a/include/tools.h +++ b/include/tools.h @@ -31,7 +31,8 @@ using namespace std; #define att(s) strchr(s,'@')!=NULL?strchr(s,'@')+1:NULL #define prop(s) substr(s, 0, strchr(s,'@')-s) -#define MAX_METADATA_LENGTH 1024 +#define MAX_METADATA_LENGTH_L 1024 +#define MAX_METADATA_LENGTH_S 256 /** * creates a part of a string -- cgit v1.2.3