Merge branch '138-toggle-free-look-with-hotkey' into main/gingo-test
[ryzomcore.git] / ryzom / client / src / interface_v3 / group_html_webig.h
blobdfa7fcc3c9de8f6cf9fc1a6fbfdc9a1eb3d93f0f
1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010-2019 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/>.
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();
31 /**
32 * Auth HTML group
34 class CGroupHTMLAuth : public CGroupHTML
36 public:
38 // Constructor
39 CGroupHTMLAuth(const TCtorParam &param);
40 ~CGroupHTMLAuth();
42 // From CGroupHTML
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 ();
48 private:
53 /**
54 * WebIG HTML group
56 class CGroupHTMLWebIG : public CGroupHTMLAuth
58 public:
60 // Constructor
61 CGroupHTMLWebIG(const TCtorParam &param);
62 ~CGroupHTMLWebIG();
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 ();
70 private:
74 #endif // CL_GROUP_HTML_WEBIG_H