Virtual method implementations moved to .cpp files
get_method_id() now const
This commit is contained in:
@@ -114,14 +114,14 @@ namespace eap
|
||||
///
|
||||
/// \returns Pointer to cloned configuration
|
||||
///
|
||||
virtual config* clone() const { return new config_pap(*this); }
|
||||
virtual config* clone() const;
|
||||
|
||||
///
|
||||
/// Returns EAP method type of this configuration
|
||||
///
|
||||
/// \returns `eap::type_pap`
|
||||
///
|
||||
virtual eap::type_t get_method_id() { return eap::type_pap; }
|
||||
virtual eap::type_t get_method_id() const;
|
||||
};
|
||||
}
|
||||
|
||||
|
@@ -87,7 +87,7 @@ namespace eap
|
||||
///
|
||||
/// \returns Pointer to cloned credentials
|
||||
///
|
||||
virtual config* clone() const { return new credentials_pap(*this); }
|
||||
virtual config* clone() const;
|
||||
|
||||
/// \name Storage
|
||||
/// @{
|
||||
@@ -95,7 +95,7 @@ namespace eap
|
||||
///
|
||||
/// Return target suffix for Windows Credential Manager credential name
|
||||
///
|
||||
virtual LPCTSTR target_suffix() const { return _T("PAP"); }
|
||||
virtual LPCTSTR target_suffix() const;
|
||||
|
||||
/// @}
|
||||
};
|
||||
|
@@ -60,3 +60,13 @@ eap::config_pap& eap::config_pap::operator=(_Inout_ config_pap &&other)
|
||||
}
|
||||
|
||||
|
||||
eap::config* eap::config_pap::clone() const
|
||||
{
|
||||
return new config_pap(*this);
|
||||
}
|
||||
|
||||
|
||||
eap::type_t eap::config_pap::get_method_id() const
|
||||
{
|
||||
return eap::type_pap;
|
||||
}
|
||||
|
@@ -58,3 +58,15 @@ eap::credentials_pap& eap::credentials_pap::operator=(_Inout_ credentials_pap &&
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
eap::config* eap::credentials_pap::clone() const
|
||||
{
|
||||
return new credentials_pap(*this);
|
||||
}
|
||||
|
||||
|
||||
LPCTSTR eap::credentials_pap::target_suffix() const
|
||||
{
|
||||
return _T("PAP");
|
||||
}
|
||||
|
Reference in New Issue
Block a user