Linux multi-monitor fullscreen support
[ryzomcore.git] / ryzom / client / src / interface_v3 / group_html_cs.h
blobc4dead71b727cde6b1cf416bbca3c2298c08acb4
1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010-2015 Winch Gate Property Limited
3 //
4 // This source file has been modified by the following contributors:
5 // Copyright (C) 2012 Matt RAYKOWSKI (sfb) <matt.raykowski@gmail.com>
6 // Copyright (C) 2013 Laszlo KIS-ADAM (dfighter) <dfighter1985@gmail.com>
7 // Copyright (C) 2019 Jan BOON (Kaetemi) <jan.boon@kaetemi.be>
8 //
9 // This program is free software: you can redistribute it and/or modify
10 // it under the terms of the GNU Affero General Public License as
11 // published by the Free Software Foundation, either version 3 of the
12 // License, or (at your option) any later version.
14 // This program is distributed in the hope that it will be useful,
15 // but WITHOUT ANY WARRANTY; without even the implied warranty of
16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 // GNU Affero General Public License for more details.
19 // You should have received a copy of the GNU Affero General Public License
20 // along with this program. If not, see <http://www.gnu.org/licenses/>.
25 #ifndef CL_GROUP_HTML_CS_H
26 #define CL_GROUP_HTML_CS_H
28 #include "nel/misc/types_nl.h"
29 #include "nel/gui/group_html.h"
32 /**
33 * Forum HTML group
34 * \author Cyril 'Hulud' Corvazier
35 * \author Nevrax France
36 * \date 2002
38 class CGroupHTMLCS : public CGroupHTML
40 public:
42 // Constructor
43 CGroupHTMLCS(const TCtorParam &param);
44 ~CGroupHTMLCS();
46 // From CGroupHTML
47 virtual void addHTTPGetParams (std::string &url, bool trustedDomain);
48 virtual void addHTTPPostParams (SFormFields &formfields, bool trustedDomain);
49 virtual std::string home() const NL_OVERRIDE;
51 private:
53 struct CParameter
55 std::string Name;
56 std::string Value;
58 void getParameters(std::vector<CParameter> &parameters, bool encodeForUrl);
61 // convert an ascii string to a valid url param string
62 std::string convertToHTML(const std::string &s);
64 #endif