- Doxygen documentation updated
- Some minor issues stumbled upon fixed - WIN1250 >> UTF-8
This commit is contained in:
@@ -27,94 +27,72 @@
|
||||
#include <Windows.h>
|
||||
|
||||
|
||||
///
|
||||
/// Reusable EAP dialog banner for `wxEAPConfigDialog` and `wxEAPCredentialsDialog`
|
||||
///
|
||||
class wxEAPBannerPanel;
|
||||
|
||||
///
|
||||
/// EAP top-most configuration dialog template
|
||||
///
|
||||
template <class _wxT> class wxEAPConfigDialog;
|
||||
|
||||
///
|
||||
/// EAP general-use dialog
|
||||
///
|
||||
class wxEAPGeneralDialog;
|
||||
|
||||
///
|
||||
/// EAP method credential dialog
|
||||
///
|
||||
class wxEAPCredentialsDialog;
|
||||
|
||||
///
|
||||
/// EAP general note
|
||||
///
|
||||
class wxEAPNotePanel;
|
||||
|
||||
///
|
||||
/// EAP provider-locked congifuration note
|
||||
///
|
||||
class wxEAPProviderLockedPanel;
|
||||
|
||||
///
|
||||
/// EAP credential warning note
|
||||
///
|
||||
class wxEAPCredentialWarningPanel;
|
||||
|
||||
///
|
||||
/// EAP Configuration window
|
||||
///
|
||||
class wxEAPConfigWindow;
|
||||
|
||||
///
|
||||
/// EAP provider contact info config panel
|
||||
///
|
||||
class wxEAPProviderContactInfoPanel;
|
||||
|
||||
///
|
||||
/// EAP provider identity config panel
|
||||
///
|
||||
class wxEAPProviderIDPanel;
|
||||
|
||||
///
|
||||
/// EAP provider configuration dialog
|
||||
///
|
||||
class wxEAPConfigProvider;
|
||||
|
||||
///
|
||||
/// Base template for credential configuration panel
|
||||
///
|
||||
template <class _Tcred, class _wxT> class wxEAPCredentialsConfigPanel;
|
||||
|
||||
///
|
||||
/// Helper template for all credential entry panels
|
||||
///
|
||||
template <class _Tcred, class _Tbase> class wxEAPCredentialsPanel;
|
||||
|
||||
///
|
||||
/// Generic password credential entry panel
|
||||
///
|
||||
template <class _Tcred, class _Tbase> class wxPasswordCredentialsPanel;
|
||||
|
||||
///
|
||||
/// EAP provider select dialog
|
||||
///
|
||||
class wxEAPProviderSelectDialog;
|
||||
|
||||
///
|
||||
/// \defgroup EAPBaseGUI GUI
|
||||
/// Graphical User Interface
|
||||
///
|
||||
/// @{
|
||||
|
||||
///
|
||||
/// Loads icon from resource
|
||||
///
|
||||
/// When icon of desired \p cx × \p cy dimensions is not found, the most appropriate variant (larger if available) is loaded and scaled to \p cx × \p cy.
|
||||
///
|
||||
/// \sa [LoadIconWithScaleDown function](https://msdn.microsoft.com/en-us/library/windows/desktop/bb775703.aspx)
|
||||
///
|
||||
/// \param[in] hinst Resource module instance handle
|
||||
/// \param[in] pszName Resource name (`MAKEINTRESOURCE()` macro can be used for numerical resources)
|
||||
/// \param[in] cx Desired width of the icon
|
||||
/// \param[in] cy Desired height of the icon
|
||||
///
|
||||
/// \returns
|
||||
/// - Loaded icon when successful;
|
||||
/// - \c wxNullIcon otherwise.
|
||||
///
|
||||
inline wxIcon wxLoadIconFromResource(HINSTANCE hinst, PCWSTR pszName, int cx = GetSystemMetrics(SM_CXICON), int cy = GetSystemMetrics(SM_CYICON));
|
||||
|
||||
///
|
||||
/// Loads icon from resource
|
||||
///
|
||||
/// When icon of desired \p size dimensions is not found, the most appropriate variant (larger if available) is loaded and scaled to \p size.
|
||||
///
|
||||
/// \sa [LoadIconWithScaleDown function](https://msdn.microsoft.com/en-us/library/windows/desktop/bb775703.aspx)
|
||||
///
|
||||
/// \param[in] hinst Resource module instance handle
|
||||
/// \param[in] pszName Resource name (`MAKEINTRESOURCE()` macro can be used for numerical resources)
|
||||
/// \param[in] size Desired width and height of the icon
|
||||
///
|
||||
/// \returns
|
||||
/// - Loaded icon when successful;
|
||||
/// - \c wxNullIcon otherwise.
|
||||
///
|
||||
inline wxIcon wxLoadIconFromResource(HINSTANCE hinst, PCWSTR pszName, const wxSize &size);
|
||||
|
||||
///
|
||||
/// Returns GUI displayable provider name
|
||||
///
|
||||
/// \param[in] id Provider name
|
||||
///
|
||||
/// \returns
|
||||
/// - \p id when \p id is not blank;
|
||||
/// - localized "<Your Organization>" otherwise.
|
||||
///
|
||||
inline wxString wxEAPGetProviderName(const std::wstring &id);
|
||||
|
||||
///
|
||||
@@ -122,12 +100,10 @@ inline wxString wxEAPGetProviderName(const std::wstring &id);
|
||||
///
|
||||
inline void wxInitializeConfig();
|
||||
|
||||
/// @}
|
||||
|
||||
namespace eap
|
||||
{
|
||||
///
|
||||
/// Base class to prevent multiple instances of the same dialog
|
||||
///
|
||||
class monitor_ui;
|
||||
}
|
||||
|
||||
@@ -151,13 +127,20 @@ namespace eap
|
||||
#include <list>
|
||||
#include <memory>
|
||||
|
||||
/// \addtogroup EAPBaseGUI
|
||||
/// @{
|
||||
|
||||
///
|
||||
/// Reusable EAP dialog banner for `wxEAPConfigDialog` and `wxEAPCredentialsDialog`
|
||||
///
|
||||
class wxEAPBannerPanel : public wxEAPBannerPanelBase
|
||||
{
|
||||
public:
|
||||
///
|
||||
/// Constructs a banner pannel and set the title text to product name
|
||||
///
|
||||
/// \param[in] parent Parent window
|
||||
///
|
||||
wxEAPBannerPanel(wxWindow* parent);
|
||||
|
||||
protected:
|
||||
@@ -167,6 +150,9 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
///
|
||||
/// EAP top-most configuration dialog template
|
||||
///
|
||||
template <class _wxT>
|
||||
class wxEAPConfigDialog : public wxEAPConfigDialogBase
|
||||
{
|
||||
@@ -326,12 +312,22 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
///
|
||||
/// EAP general-use dialog
|
||||
///
|
||||
class wxEAPGeneralDialog : public wxEAPGeneralDialogBase
|
||||
{
|
||||
public:
|
||||
///
|
||||
/// Constructs a dialog
|
||||
///
|
||||
/// \param[in] parent Parent window
|
||||
/// \param[in] id An identifier for the dialog. A value of \c wxID_ANY is taken to mean a default.
|
||||
/// \param[in] title The title of the dialog
|
||||
/// \param[in] pos The dialog position. The value \c wxDefaultPosition indicates a default position, chosen by either the windowing system or wxWidgets, depending on platform.
|
||||
/// \param[in] size The dialog size. The value \c wxDefaultSize indicates a default size, chosen by either the windowing system or wxWidgets, depending on platform.
|
||||
/// \param[in] style The window style.
|
||||
///
|
||||
wxEAPGeneralDialog(wxWindow *parent, wxWindowID id = wxID_ANY, const wxString &title = wxEmptyString, const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE);
|
||||
|
||||
///
|
||||
@@ -351,6 +347,9 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
///
|
||||
/// EAP method credential dialog
|
||||
///
|
||||
class wxEAPCredentialsDialog : public wxEAPGeneralDialog
|
||||
{
|
||||
public:
|
||||
@@ -361,6 +360,9 @@ public:
|
||||
};
|
||||
|
||||
|
||||
///
|
||||
/// EAP provider select dialog
|
||||
///
|
||||
class wxEAPProviderSelectDialog : public wxEAPProviderSelectDialogBase
|
||||
{
|
||||
public:
|
||||
@@ -390,6 +392,9 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
///
|
||||
/// EAP general note
|
||||
///
|
||||
class wxEAPNotePanel : public wxEAPNotePanelBase
|
||||
{
|
||||
public:
|
||||
@@ -439,6 +444,9 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
///
|
||||
/// EAP provider-locked congifuration note
|
||||
///
|
||||
class wxEAPProviderLockedPanel : public wxEAPNotePanel
|
||||
{
|
||||
public:
|
||||
@@ -449,6 +457,9 @@ public:
|
||||
};
|
||||
|
||||
|
||||
///
|
||||
/// EAP credential warning note
|
||||
///
|
||||
class wxEAPCredentialWarningPanel : public wxEAPNotePanel
|
||||
{
|
||||
public:
|
||||
@@ -459,6 +470,9 @@ public:
|
||||
};
|
||||
|
||||
|
||||
///
|
||||
/// EAP Configuration window
|
||||
///
|
||||
class wxEAPConfigWindow : public wxScrolledWindow
|
||||
{
|
||||
public:
|
||||
@@ -504,6 +518,9 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
///
|
||||
/// EAP provider contact info config panel
|
||||
///
|
||||
class wxEAPProviderContactInfoPanel : public wxEAPProviderContactInfoPanelBase
|
||||
{
|
||||
public:
|
||||
@@ -528,6 +545,9 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
///
|
||||
/// EAP provider identity config panel
|
||||
///
|
||||
class wxEAPProviderIDPanel : public wxEAPProviderIDPanelBase
|
||||
{
|
||||
public:
|
||||
@@ -550,6 +570,9 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
///
|
||||
/// EAP provider lock config panel
|
||||
///
|
||||
class wxEAPProviderLockPanel : public wxEAPProviderLockPanelBase
|
||||
{
|
||||
public:
|
||||
@@ -572,6 +595,9 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
///
|
||||
/// EAP provider configuration dialog
|
||||
///
|
||||
class wxEAPConfigProvider : public wxEAPGeneralDialog
|
||||
{
|
||||
public:
|
||||
@@ -580,6 +606,11 @@ public:
|
||||
///
|
||||
/// \param[inout] prov Provider configuration data
|
||||
/// \param[in] parent Parent window
|
||||
/// \param[in] id An identifier for the dialog. A value of \c wxID_ANY is taken to mean a default.
|
||||
/// \param[in] title The title of the dialog
|
||||
/// \param[in] pos The dialog position. The value \c wxDefaultPosition indicates a default position, chosen by either the windowing system or wxWidgets, depending on platform.
|
||||
/// \param[in] size The dialog size. The value \c wxDefaultSize indicates a default size, chosen by either the windowing system or wxWidgets, depending on platform.
|
||||
/// \param[in] style The window style.
|
||||
///
|
||||
wxEAPConfigProvider(eap::config_provider &prov, wxWindow *parent, wxWindowID id = wxID_ANY, const wxString &title = _("Provider Settings"), const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE);
|
||||
|
||||
@@ -591,6 +622,9 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
///
|
||||
/// Base template for credential configuration panel
|
||||
///
|
||||
template <class _Tcred, class _wxT>
|
||||
class wxEAPCredentialsConfigPanel : public wxEAPCredentialsConfigPanelBase
|
||||
{
|
||||
@@ -601,6 +635,7 @@ public:
|
||||
/// \param[in] prov Provider configuration data
|
||||
/// \param[inout] cfg Configuration data
|
||||
/// \param[in] parent Parent window
|
||||
/// \param[in] method Method name to display
|
||||
///
|
||||
wxEAPCredentialsConfigPanel(const eap::config_provider &prov, eap::config_method_with_cred &cfg, wxWindow *parent, const wxString &method = wxEmptyString) :
|
||||
m_prov(prov),
|
||||
@@ -833,6 +868,9 @@ private:
|
||||
};
|
||||
|
||||
|
||||
///
|
||||
/// Helper template for all credential entry panels
|
||||
///
|
||||
template <class _Tcred, class _Tbase>
|
||||
class wxEAPCredentialsPanel : public _Tbase
|
||||
{
|
||||
@@ -891,6 +929,9 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
///
|
||||
/// Generic password credential entry panel
|
||||
///
|
||||
template <class _Tcred, class _Tbase>
|
||||
class wxPasswordCredentialsPanel : public wxEAPCredentialsPanel<_Tcred, _Tbase>
|
||||
{
|
||||
@@ -980,6 +1021,8 @@ private:
|
||||
bool m_password_set;
|
||||
};
|
||||
|
||||
/// @}
|
||||
|
||||
|
||||
inline wxIcon wxLoadIconFromResource(HINSTANCE hinst, PCWSTR pszName, int cx, int cy)
|
||||
{
|
||||
@@ -1021,6 +1064,12 @@ inline void wxInitializeConfig()
|
||||
|
||||
namespace eap
|
||||
{
|
||||
/// \addtogroup EAPBaseGUI
|
||||
/// @{
|
||||
|
||||
///
|
||||
/// Base class to enable single instance of the same dialog (master) return result to multiple threads (slaves)
|
||||
///
|
||||
class monitor_ui
|
||||
{
|
||||
public:
|
||||
@@ -1100,4 +1149,6 @@ namespace eap
|
||||
static const UINT s_msg_attach; ///< Slave sends this message to attach to master
|
||||
static const UINT s_msg_finish; ///< Master sends this message to slaves to notify them it has finished (wparam has size, lparam has data)
|
||||
};
|
||||
|
||||
/// @}
|
||||
}
|
||||
|
@@ -20,11 +20,6 @@
|
||||
|
||||
namespace eap
|
||||
{
|
||||
///
|
||||
/// EAP UI peer base abstract class
|
||||
///
|
||||
/// A group of methods all EAP UI peers must or should implement.
|
||||
///
|
||||
class peer_ui;
|
||||
}
|
||||
|
||||
@@ -35,6 +30,14 @@ namespace eap
|
||||
|
||||
namespace eap
|
||||
{
|
||||
/// \addtogroup EAPBaseModule
|
||||
/// @{
|
||||
|
||||
///
|
||||
/// EAP UI peer base abstract class
|
||||
///
|
||||
/// A group of methods all EAP UI peers must or should implement.
|
||||
///
|
||||
class peer_ui : public module
|
||||
{
|
||||
public:
|
||||
@@ -50,11 +53,16 @@ namespace eap
|
||||
///
|
||||
/// \sa [EapPeerConfigXml2Blob function](https://msdn.microsoft.com/en-us/library/windows/desktop/aa363602.aspx)
|
||||
///
|
||||
/// \param[in ] dwFlags A combination of EAP flags that describe the EAP authentication session behavior.
|
||||
/// \param[in ] pConfigRoot Pointer to the XML configuration to be converted.
|
||||
/// \param[out] pConnectionDataOut A pointer to a pointer to a byte buffer that contains the configuration data converted from XML. The configuration data is created inside the EapHostConfig Schema element. The buffer is of size \p pdwConnectionDataOutSize. After consuming the data, this memory must be freed by calling \p EapPeerFreeMemory().
|
||||
/// \param[out] pdwConnectionDataOutSize A pointer to the size, in bytes, of the configuration BLOB in \p pConnectionDataOut.
|
||||
///
|
||||
virtual void config_xml2blob(
|
||||
_In_ DWORD dwFlags,
|
||||
_In_ IXMLDOMNode *pConfigRoot,
|
||||
_Inout_ BYTE **pConnectionDataOut,
|
||||
_Inout_ DWORD *pdwConnectionDataOutSize) = 0;
|
||||
_In_ DWORD dwFlags,
|
||||
_In_ IXMLDOMNode *pConfigRoot,
|
||||
_Out_ BYTE **pConnectionDataOut,
|
||||
_Out_ DWORD *pdwConnectionDataOutSize) = 0;
|
||||
|
||||
///
|
||||
/// Converts the configuration BLOB to XML.
|
||||
@@ -63,6 +71,12 @@ namespace eap
|
||||
///
|
||||
/// \sa [EapPeerConfigBlob2Xml function](https://msdn.microsoft.com/en-us/library/windows/desktop/aa363601.aspx)
|
||||
///
|
||||
/// \param[in] dwFlags A combination of EAP flags that describe the EAP authentication session behavior.
|
||||
/// \param[in] pConnectionData A pointer to a buffer that contains the configuration BLOB to convert. The buffer is of size \p dwConnectionDataSize.
|
||||
/// \param[in] dwConnectionDataSize The size, in bytes, of the configuration BLOB in \p pConnectionData.
|
||||
/// \param[in] pDoc A pointer to a pointer to an XML document that contains the converted configuration. If the EAP method does not support the \p EapPeerConfigBlob2Xml() function, the XML document will contain the \p ConfigBlob node with the BLOB in string form. The EAP method should create configuration inside the EapHostConfig Schema configuration element.
|
||||
/// \param[in] pConfigRoot Configuration root XML node
|
||||
///
|
||||
virtual void config_blob2xml(
|
||||
_In_ DWORD dwFlags,
|
||||
_In_count_(dwConnectionDataSize) const BYTE *pConnectionData,
|
||||
@@ -75,18 +89,34 @@ namespace eap
|
||||
///
|
||||
/// \sa [EapPeerInvokeConfigUI function](https://msdn.microsoft.com/en-us/library/windows/desktop/aa363614.aspx)
|
||||
///
|
||||
/// \param[in ] hwndParent A handle to the parent window which will spawn the connection configuration user interface dialog.
|
||||
/// \param[in ] pConnectionDataIn A pointer to a buffer that contains the configuration BLOB to convert. The buffer is of size \p dwConnectionDataInSize.
|
||||
/// \param[in ] dwConnectionDataInSize The size, in bytes, of the configuration BLOB in \p pConnectionDataIn.
|
||||
/// \param[out] ppConnectionDataOut Receives a pointer to a pointer that contains a byte buffer with the user-configured connection data.
|
||||
/// \param[out] pdwConnectionDataOutSize Receives a pointer to the size, in bytes, of the \p ppConnectionDataOut parameter.
|
||||
///
|
||||
virtual void invoke_config_ui(
|
||||
_In_ HWND hwndParent,
|
||||
_In_count_(dwConnectionDataInSize) const BYTE *pConnectionDataIn,
|
||||
_In_ DWORD dwConnectionDataInSize,
|
||||
_Inout_ BYTE **ppConnectionDataOut,
|
||||
_Inout_ DWORD *pdwConnectionDataOutSize) = 0;
|
||||
_Out_ BYTE **ppConnectionDataOut,
|
||||
_Out_ DWORD *pdwConnectionDataOutSize) = 0;
|
||||
|
||||
///
|
||||
/// Raises a custom interactive user interface dialog to obtain user identity information for the EAP method on the client.
|
||||
///
|
||||
/// \sa [EapPeerInvokeIdentityUI function](https://msdn.microsoft.com/en-us/library/windows/desktop/aa363615.aspx)
|
||||
///
|
||||
/// \param[in ] hwndParent A handle to the parent window which will spawn the interactive user interface dialog to obtain the identity data. Can be \c NULL.
|
||||
/// \param[in ] dwFlags A combination of EAP flags that describe the EAP authentication session behavior.
|
||||
/// \param[in ] pConnectionData A pointer to a buffer that contains the configuration BLOB to convert. The buffer is of size \p dwConnectionDataSize.
|
||||
/// \param[in ] dwConnectionDataSize The size, in bytes, of the configuration BLOB in \p pConnectionData.
|
||||
/// \param[in ] pUserData A pointer to the user data specific to this authentication used to pre-populate the user data. When this API is called for the first time, or when a new authentication session starts, this parameter is \c NULL. Otherwise, set this parameter to the `pUserData` member of the structure pointed to by the \p pResult parameter received by `EapPeerGetResult()`.
|
||||
/// \param[in ] dwUserDataSize Specifies the size, in bytes, of the user identity data returned in \p pUserData.
|
||||
/// \param[out] ppUserDataOut A pointer to the pointer of the returned user data. The data is passed to `EapPeerBeginSession()` as input \p pUserData.
|
||||
/// \param[out] pdwUserDataOutSize Specifies the size, in bytes, of the \p ppUserDataOut buffer.
|
||||
/// \param[out] ppwszIdentity A pointer to the returned user identity. The pointer will be included in the identity response packet and returned to the server.
|
||||
///
|
||||
virtual void invoke_identity_ui(
|
||||
_In_ HWND hwndParent,
|
||||
_In_ DWORD dwFlags,
|
||||
@@ -94,15 +124,21 @@ namespace eap
|
||||
_In_ DWORD dwConnectionDataSize,
|
||||
_In_count_(dwUserDataSize) const BYTE *pUserData,
|
||||
_In_ DWORD dwUserDataSize,
|
||||
_Inout_ BYTE **ppUserDataOut,
|
||||
_Inout_ DWORD *pdwUserDataOutSize,
|
||||
_Inout_ LPWSTR *ppwszIdentity) = 0;
|
||||
_Out_ BYTE **ppUserDataOut,
|
||||
_Out_ DWORD *pdwUserDataOutSize,
|
||||
_Out_ LPWSTR *ppwszIdentity) = 0;
|
||||
|
||||
///
|
||||
/// Raises a custom interactive user interface dialog for the EAP method on the client.
|
||||
///
|
||||
/// \sa [EapPeerInvokeInteractiveUI function](https://msdn.microsoft.com/en-us/library/windows/desktop/aa363616.aspx)
|
||||
///
|
||||
/// \param[in ] hwndParent A handle to the parent window which will spawn the interactive user interface dialog.
|
||||
/// \param[in ] pUIContextData A pointer to an opaque byte buffer that contains the context data used to create the user interface dialog.
|
||||
/// \param[in ] dwUIContextDataSize The size, in bytes, of the user interface context data specified by \p pUIContextData.
|
||||
/// \param[out] ppDataFromInteractiveUI A pointer to the address of an opaque byte buffer that contains data obtained from the interactive user interface dialog.
|
||||
/// \param[out] pdwDataFromInteractiveUISize A pointer to the size, in bytes, of the data returned in \p ppDataFromInteractiveUI.
|
||||
///
|
||||
virtual void invoke_interactive_ui(
|
||||
_In_ HWND hwndParent,
|
||||
_In_count_(dwUIContextDataSize) const BYTE *pUIContextData,
|
||||
@@ -110,4 +146,6 @@ namespace eap
|
||||
_Inout_ BYTE **ppDataFromInteractiveUI,
|
||||
_Inout_ DWORD *pdwDataFromInteractiveUISize) = 0;
|
||||
};
|
||||
|
||||
/// @}
|
||||
}
|
||||
|
@@ -1,26 +1,23 @@
|
||||
/*
|
||||
/*
|
||||
Copyright 2015-2016 Amebis
|
||||
Copyright 2016 G<EFBFBD>ANT
|
||||
Copyright 2016 GÉANT
|
||||
|
||||
This file is part of G<EFBFBD>ANTLink.
|
||||
This file is part of GÉANTLink.
|
||||
|
||||
G<EFBFBD>ANTLink is free software: you can redistribute it and/or modify it
|
||||
GÉANTLink is free software: you can redistribute it and/or modify it
|
||||
under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
G<EFBFBD>ANTLink is distributed in the hope that it will be useful, but
|
||||
GÉANTLink is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with G<EFBFBD>ANTLink. If not, see <http://www.gnu.org/licenses/>.
|
||||
along with GÉANTLink. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
///
|
||||
/// Base class for all credential entry panel that must provide "Remember" credentials checkbox
|
||||
///
|
||||
class wxEAPCredentialsPanelBase;
|
||||
|
||||
#pragma once
|
||||
@@ -28,12 +25,28 @@ class wxEAPCredentialsPanelBase;
|
||||
#include <wx/panel.h>
|
||||
|
||||
|
||||
///
|
||||
/// \defgroup EAPBaseGUI GUI
|
||||
/// Graphical User Interface
|
||||
///
|
||||
/// @{
|
||||
|
||||
///
|
||||
/// Base class for all credential entry panel that must provide "Remember" credentials checkbox
|
||||
///
|
||||
class wxEAPCredentialsPanelBase : public wxPanel
|
||||
{
|
||||
public:
|
||||
///
|
||||
/// Constructs a wxPanel with "Remember" credentials checkbox
|
||||
///
|
||||
/// \param[in] parent The parent window
|
||||
/// \param[in] winid An identifier for the panel. \c wxID_ANY is taken to mean a default.
|
||||
/// \param[in] pos The panel position. The value \c wxDefaultPosition indicates a default position, chosen by either the windowing system or wxWidgets, depending on platform.
|
||||
/// \param[in] size The panel size. The value \c wxDefaultSize indicates a default size, chosen by either the windowing system or wxWidgets, depending on platform.
|
||||
/// \param[in] style The window style. See `wxPanel`.
|
||||
/// \param[in] name Window name
|
||||
///
|
||||
wxEAPCredentialsPanelBase(wxWindow *parent,
|
||||
wxWindowID winid = wxID_ANY,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
@@ -55,3 +68,5 @@ public:
|
||||
///
|
||||
virtual bool GetRemember() const = 0;
|
||||
};
|
||||
|
||||
/// @}
|
||||
|
Reference in New Issue
Block a user