Template arguments and type names unified
This commit is contained in:
@@ -96,7 +96,7 @@ public:
|
||||
///
|
||||
/// Configuration data type
|
||||
///
|
||||
typedef eap::config_providers<_Tprov> config_type;
|
||||
typedef eap::config_providers<_Tprov> config_providers_type;
|
||||
|
||||
///
|
||||
/// This data type
|
||||
@@ -107,7 +107,7 @@ public:
|
||||
///
|
||||
/// Constructs a configuration dialog
|
||||
///
|
||||
wxEAPConfigDialog(config_type &cfg, wxWindow* parent) :
|
||||
wxEAPConfigDialog(config_providers_type &cfg, wxWindow* parent) :
|
||||
m_cfg(cfg),
|
||||
wxEAPConfigDialogBase(parent)
|
||||
{
|
||||
@@ -150,7 +150,7 @@ protected:
|
||||
|
||||
|
||||
protected:
|
||||
config_type &m_cfg; ///< EAP providers configuration
|
||||
config_providers_type &m_cfg; ///< EAP providers configuration
|
||||
};
|
||||
|
||||
|
||||
|
@@ -25,7 +25,7 @@ namespace eap
|
||||
///
|
||||
/// A group of methods all EAP UI peers must or should implement.
|
||||
///
|
||||
template <class _Tmeth, class _Tid, class _Tint, class _Tintres> class peer_ui;
|
||||
template <class _Tmeth, class _Tcred, class _Tint, class _Tintres> class peer_ui;
|
||||
}
|
||||
|
||||
#pragma once
|
||||
@@ -35,14 +35,14 @@ namespace eap
|
||||
|
||||
namespace eap
|
||||
{
|
||||
template <class _Tcfg, class _Tid, class _Tint, class _Tintres>
|
||||
class peer_ui : public peer_base<_Tcfg, _Tid, _Tint, _Tintres>
|
||||
template <class _Tmeth, class _Tcred, class _Tint, class _Tintres>
|
||||
class peer_ui : public peer_base<_Tmeth, _Tcred, _Tint, _Tintres>
|
||||
{
|
||||
public:
|
||||
///
|
||||
/// Constructs a EAP UI peer module for the given EAP type
|
||||
///
|
||||
peer_ui(_In_ type_t eap_method) : peer_base<_Tcfg, _Tid, _Tint, _Tintres>(eap_method) {}
|
||||
peer_ui(_In_ type_t eap_method) : peer_base<_Tmeth, _Tcred, _Tint, _Tintres>(eap_method) {}
|
||||
|
||||
///
|
||||
/// Raises the EAP method's specific connection configuration user interface dialog on the client.
|
||||
@@ -58,9 +58,9 @@ namespace eap
|
||||
/// - \c false otherwise. See \p ppEapError for details.
|
||||
///
|
||||
virtual bool invoke_config_ui(
|
||||
_In_ HWND hwndParent,
|
||||
_Inout_ config_type &cfg,
|
||||
_Out_ EAP_ERROR **ppEapError) = 0;
|
||||
_In_ HWND hwndParent,
|
||||
_Inout_ config_providers_type &cfg,
|
||||
_Out_ EAP_ERROR **ppEapError) = 0;
|
||||
|
||||
///
|
||||
/// Raises a custom interactive user interface dialog to obtain user identity information for the EAP method on the client.
|
||||
@@ -79,12 +79,12 @@ namespace eap
|
||||
/// - \c false otherwise. See \p ppEapError for details.
|
||||
///
|
||||
virtual bool invoke_identity_ui(
|
||||
_In_ HWND hwndParent,
|
||||
_In_ DWORD dwFlags,
|
||||
_Inout_ config_type &cfg,
|
||||
_Inout_ identity_type &usr,
|
||||
_Out_ LPWSTR *ppwszIdentity,
|
||||
_Out_ EAP_ERROR **ppEapError) = 0;
|
||||
_In_ HWND hwndParent,
|
||||
_In_ DWORD dwFlags,
|
||||
_Inout_ config_providers_type &cfg,
|
||||
_Inout_ credentials_type &usr,
|
||||
_Out_ LPWSTR *ppwszIdentity,
|
||||
_Out_ EAP_ERROR **ppEapError) = 0;
|
||||
|
||||
///
|
||||
/// Raises a custom interactive user interface dialog for the EAP method on the client.
|
||||
|
Reference in New Issue
Block a user