add const qualifiers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2008-03-09 16:24:26 +00:00
parent 1fee6e2577
commit 328f5751e8
193 changed files with 2525 additions and 2513 deletions

View File

@@ -196,22 +196,22 @@ public:
Returns @true if an option taking a date value was found and stores the
value in the provided pointer (which should not be @NULL).
*/
bool Found(const wxString& name);
bool Found(const wxString& name, wxString* value);
bool Found(const wxString& name, long* value);
bool Found(const wxString& name, wxDateTime* value);
bool Found(const wxString& name) const;
const bool Found(const wxString& name, wxString* value) const;
const bool Found(const wxString& name, long* value) const;
const bool Found(const wxString& name, wxDateTime* value) const;
//@}
/**
Returns the value of Nth parameter (as string only).
*/
wxString GetParam(size_t n = 0u);
wxString GetParam(size_t n = 0u) const;
/**
Returns the number of parameters found. This function makes sense mostly if you
had used @c wxCMD_LINE_PARAM_MULTIPLE flag.
*/
size_t GetParamCount();
size_t GetParamCount() const;
/**
After calling Parse() (and if it returned 0),