diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-07-05 16:58:42 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-07-05 16:58:42 +0400 |
commit | f6883a2c09507d0acb9ccbf0156e5948211dc480 (patch) | |
tree | 7789b4fecd6b2e846f070e2e0bdb1e16ea7555e9 /src/apps/mplayerc/WebClientSocket.h | |
parent | e9b446380bc3bc122e3e3a1d0622163a5f1920a3 (diff) |
astyle formatting
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@2103 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/WebClientSocket.h')
-rw-r--r-- | src/apps/mplayerc/WebClientSocket.h | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/src/apps/mplayerc/WebClientSocket.h b/src/apps/mplayerc/WebClientSocket.h index dda893870..15ab6a4c3 100644 --- a/src/apps/mplayerc/WebClientSocket.h +++ b/src/apps/mplayerc/WebClientSocket.h @@ -27,44 +27,44 @@ class CWebServer; class CWebClientSocket : public CAsyncSocket
{
- CWebServer* m_pWebServer;
- CMainFrame* m_pMainFrame;
+ CWebServer* m_pWebServer;
+ CMainFrame* m_pMainFrame;
- CString m_hdr;
+ CString m_hdr;
- struct cookie_attribs
- {
- CString path, expire, domain;
- };
- CAtlStringMap<cookie_attribs> m_cookieattribs;
+ struct cookie_attribs
+ {
+ CString path, expire, domain;
+ };
+ CAtlStringMap<cookie_attribs> m_cookieattribs;
- void Clear();
- void Header();
+ void Clear();
+ void Header();
protected:
- void OnReceive(int nErrorCode);
- void OnClose(int nErrorCode);
+ void OnReceive(int nErrorCode);
+ void OnClose(int nErrorCode);
public:
- CWebClientSocket(CWebServer* pWebServer, CMainFrame* pMainFrame);
- virtual ~CWebClientSocket();
+ CWebClientSocket(CWebServer* pWebServer, CMainFrame* pMainFrame);
+ virtual ~CWebClientSocket();
- bool SetCookie(CString name, CString value = _T(""), __time64_t expire = -1, CString path = _T("/"), CString domain = _T(""));
+ bool SetCookie(CString name, CString value = _T(""), __time64_t expire = -1, CString path = _T("/"), CString domain = _T(""));
- CString m_sessid;
- CString m_cmd, m_path, m_query, m_ver;
- CStringA m_data;
- CAtlStringMap<> m_hdrlines;
- CAtlStringMap<> m_get, m_post, m_cookie;
- CAtlStringMap<> m_request;
+ CString m_sessid;
+ CString m_cmd, m_path, m_query, m_ver;
+ CStringA m_data;
+ CAtlStringMap<> m_hdrlines;
+ CAtlStringMap<> m_get, m_post, m_cookie;
+ CAtlStringMap<> m_request;
- bool OnCommand(CStringA& hdr, CStringA& body, CStringA& mime);
- bool OnIndex(CStringA& hdr, CStringA& body, CStringA& mime);
- bool OnBrowser(CStringA& hdr, CStringA& body, CStringA& mime);
- bool OnControls(CStringA& hdr, CStringA& body, CStringA& mime);
- bool OnStatus(CStringA& hdr, CStringA& body, CStringA& mime);
- bool OnError404(CStringA& hdr, CStringA& body, CStringA& mime);
- bool OnPlayer(CStringA& hdr, CStringA& body, CStringA& mime);
- bool OnSnapShotJpeg(CStringA& hdr, CStringA& body, CStringA& mime);
- bool OnConvRes(CStringA& hdr, CStringA& body, CStringA& mime);
+ bool OnCommand(CStringA& hdr, CStringA& body, CStringA& mime);
+ bool OnIndex(CStringA& hdr, CStringA& body, CStringA& mime);
+ bool OnBrowser(CStringA& hdr, CStringA& body, CStringA& mime);
+ bool OnControls(CStringA& hdr, CStringA& body, CStringA& mime);
+ bool OnStatus(CStringA& hdr, CStringA& body, CStringA& mime);
+ bool OnError404(CStringA& hdr, CStringA& body, CStringA& mime);
+ bool OnPlayer(CStringA& hdr, CStringA& body, CStringA& mime);
+ bool OnSnapShotJpeg(CStringA& hdr, CStringA& body, CStringA& mime);
+ bool OnConvRes(CStringA& hdr, CStringA& body, CStringA& mime);
};
|