1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010-2019 Winch Gate Property Limited
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>
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/>.
22 #ifndef CL_GROUP_HTML_WEBIG_H
23 #define CL_GROUP_HTML_WEBIG_H
25 #include "nel/misc/types_nl.h"
26 #include "nel/gui/group_html.h"
28 void startWebIgNotificationThread();
29 void stopWebIgNotificationThread();
34 class CGroupHTMLAuth
: public CGroupHTML
39 CGroupHTMLAuth(const TCtorParam
¶m
);
43 virtual void addHTTPGetParams (std::string
&url
, bool trustedDomain
);
44 virtual void addHTTPPostParams (SFormFields
&formfields
, bool trustedDomain
);
45 virtual std::string
home() const NL_OVERRIDE
;
46 virtual void handle ();
56 class CGroupHTMLWebIG
: public CGroupHTMLAuth
61 CGroupHTMLWebIG(const TCtorParam
¶m
);
64 /// From CGroupHTMLAuth
65 virtual void addHTTPGetParams (std::string
&url
, bool trustedDomain
);
66 virtual void addHTTPPostParams (SFormFields
&formfields
, bool trustedDomain
);
67 virtual std::string
home() const NL_OVERRIDE
;
68 virtual void handle ();
74 #endif // CL_GROUP_HTML_WEBIG_H