summaryrefslogtreecommitdiff
path: root/plugins/HTTPServer/src/HttpUser.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-06-14 22:35:16 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-06-14 22:35:16 +0000
commit3942df7207beeb9f2fc08a6deb1d375badbe066a (patch)
tree10cff5e3f6b525410e00207d05578b30025c7d9f /plugins/HTTPServer/src/HttpUser.h
parentc5fb4140e75fe56e24caa98fda1f13b14955efe9 (diff)
plugin unicoded
git-svn-id: http://svn.miranda-ng.org/main/trunk@9488 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HTTPServer/src/HttpUser.h')
-rw-r--r--plugins/HTTPServer/src/HttpUser.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/plugins/HTTPServer/src/HttpUser.h b/plugins/HTTPServer/src/HttpUser.h
index 00b43a76eb..d428391249 100644
--- a/plugins/HTTPServer/src/HttpUser.h
+++ b/plugins/HTTPServer/src/HttpUser.h
@@ -33,13 +33,13 @@ enum ENParamTypes {
eLastParam
};
-static char * szParmStr[eLastParam] = {
- "Range: ",
- "If-Range: ",
- "Unless-Modified-Since: ",
- "If-Modified-Since: ",
- "User-Agent: ",
- "Host: "
+static TCHAR * szParmStr[eLastParam] = {
+ _T("Range: "),
+ _T("If-Range: "),
+ _T("Unless-Modified-Since: "),
+ _T("If-Modified-Since: "),
+ _T("User-Agent: "),
+ _T("Host: ")
};
@@ -48,23 +48,23 @@ public:
CLHttpUser(HANDLE hCon, in_addr stAdd);
virtual ~CLHttpUser();
- bool bReadGetParameters(char * pszRequest);
+ bool bReadGetParameters(TCHAR *pszRequest);
//bool bSendFile( HANDLE hFile ,
bool bCloseTransfers() {
return true;
}
- bool bProcessGetRequest(char * pszRequest, bool bIsGetCommand);
- const char * pszCustomInfo() {
+ bool bProcessGetRequest(TCHAR *pszRequest, bool bIsGetCommand);
+ const TCHAR * pszCustomInfo() {
return apszParam[eUserAgent];
}
void HandleNewConnection();
private:
HANDLE hFile;
- char *apszParam[eLastParam];
+ TCHAR *apszParam[eLastParam];
- void SendError(int iErrorCode, const char * pszError, const char * pszDescription = NULL);
- void SendRedir(int iErrorCode, const char * pszError, const char * pszDescription = NULL, const char * pszRedirect = NULL);
+ void SendError(int iErrorCode, const TCHAR *pszError, const TCHAR *pszDescription = NULL);
+ void SendRedir(int iErrorCode, const TCHAR *pszError, const TCHAR *pszDescription = NULL, const TCHAR *pszRedirect = NULL);
};
#endif \ No newline at end of file