Harmonize wxXmlDoctype ctor parameter names

Make the names more clear and similar to the names of member variables
to which they correspond and also use them consistently in the
documentation.

This reverts the changes to this interface header done in 5925893eed
(Fix various doxygen issues in the documentation, 2019-10-20).
This commit is contained in:
Vadim Zeitlin
2020-10-04 16:00:34 +02:00
parent 03e6ca87db
commit 4f90d31274
2 changed files with 12 additions and 10 deletions

View File

@@ -241,10 +241,12 @@ class WXDLLIMPEXP_XML wxXmlDoctype
{ {
public: public:
explicit explicit
wxXmlDoctype(const wxString& name = wxString(), wxXmlDoctype(const wxString& rootName = wxString(),
const wxString& sysid = wxString(), const wxString& systemId = wxString(),
const wxString& pubid = wxString()) const wxString& publicId = wxString())
: m_rootName(name), m_systemId(sysid), m_publicId(pubid) : m_rootName(rootName),
m_systemId(systemId),
m_publicId(publicId)
{} {}
// Default copy ctor and assignment operators are ok. // Default copy ctor and assignment operators are ok.

View File

@@ -494,16 +494,16 @@ public:
/** /**
Creates and possible initializes the DOCTYPE. Creates and possible initializes the DOCTYPE.
@param name @param rootName
The root name. The root name.
@param sysid @param systemId
The system identifier. The system identifier.
@param pubid @param publicId
The public identifier. The public identifier.
*/ */
wxXmlDoctype(const wxString& name = wxString(), wxXmlDoctype(const wxString& rootName = wxString(),
const wxString& sysid = wxString(), const wxString& systemId = wxString(),
const wxString& pubid = wxString()); const wxString& publicId = wxString());
/** /**
Removes all the DOCTYPE values. Removes all the DOCTYPE values.