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:
@@ -28,22 +28,22 @@ public:
|
||||
Returns the dispatch id of this activex event. This is the numeric value from
|
||||
the .idl file specified by the id().
|
||||
*/
|
||||
DISPID GetDispatchId(int idx);
|
||||
DISPID GetDispatchId(int idx) const;
|
||||
|
||||
/**
|
||||
Obtains the number of parameters passed through the activex event.
|
||||
*/
|
||||
size_t ParamCount();
|
||||
size_t ParamCount() const;
|
||||
|
||||
/**
|
||||
Obtains the param name of the param number idx specifies as a string.
|
||||
*/
|
||||
wxString ParamName(size_t idx);
|
||||
wxString ParamName(size_t idx) const;
|
||||
|
||||
/**
|
||||
Obtains the param type of the param number idx specifies as a string.
|
||||
*/
|
||||
wxString ParamType(size_t idx);
|
||||
wxString ParamType(size_t idx) const;
|
||||
|
||||
/**
|
||||
Obtains the actual parameter value specified by idx.
|
||||
|
@@ -70,8 +70,8 @@ public:
|
||||
example:
|
||||
*/
|
||||
wxVariant CallMethod(const wxString& method, int noArgs,
|
||||
wxVariant args[]);
|
||||
wxVariant CallMethod(const wxString& method, ... );
|
||||
wxVariant args[]) const;
|
||||
const wxVariant CallMethod(const wxString& method, ... ) const;
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -79,12 +79,12 @@ public:
|
||||
successfully created,
|
||||
or @false if not.
|
||||
*/
|
||||
bool CreateInstance(const wxString& classId);
|
||||
bool CreateInstance(const wxString& classId) const;
|
||||
|
||||
/**
|
||||
Gets the IDispatch pointer.
|
||||
*/
|
||||
IDispatch* GetDispatchPtr();
|
||||
IDispatch* GetDispatchPtr() const;
|
||||
|
||||
/**
|
||||
Retrieves the current object associated with a class id, and attaches the
|
||||
@@ -96,7 +96,7 @@ public:
|
||||
such as two copies of Excel running. Which object is referenced cannot
|
||||
currently be specified.
|
||||
*/
|
||||
bool GetInstance(const wxString& classId);
|
||||
bool GetInstance(const wxString& classId) const;
|
||||
|
||||
/**
|
||||
Retrieves a property from this object, assumed to be a dispatch pointer, and
|
||||
@@ -112,7 +112,7 @@ public:
|
||||
*/
|
||||
bool GetObject(wxAutomationObject& obj, const wxString& property,
|
||||
int noArgs = 0,
|
||||
wxVariant args[] = NULL);
|
||||
wxVariant args[] = NULL) const;
|
||||
|
||||
//@{
|
||||
/**
|
||||
@@ -131,8 +131,8 @@ public:
|
||||
needing to call GetProperty several times using several temporary objects.
|
||||
*/
|
||||
wxVariant GetProperty(const wxString& property, int noArgs,
|
||||
wxVariant args[]);
|
||||
wxVariant GetProperty(const wxString& property, ... );
|
||||
wxVariant args[]) const;
|
||||
const wxVariant GetProperty(const wxString& property, ... ) const;
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -163,7 +163,7 @@ public:
|
||||
bool Invoke(const wxString& member, int action,
|
||||
wxVariant& retValue, int noArgs,
|
||||
wxVariant args[],
|
||||
const wxVariant* ptrArgs[] = 0);
|
||||
const wxVariant* ptrArgs[] = 0) const;
|
||||
|
||||
//@{
|
||||
/**
|
||||
@@ -183,7 +183,7 @@ public:
|
||||
*/
|
||||
bool PutProperty(const wxString& property, int noArgs,
|
||||
wxVariant args[]);
|
||||
bool PutProperty(const wxString& property, ... );
|
||||
const bool PutProperty(const wxString& property, ... );
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -77,7 +77,7 @@ public:
|
||||
/**
|
||||
Returns @true if the key exists.
|
||||
*/
|
||||
static bool Exists();
|
||||
static bool Exists() const;
|
||||
|
||||
/**
|
||||
Gets the first key.
|
||||
@@ -102,52 +102,52 @@ public:
|
||||
The maximum length of a value.
|
||||
*/
|
||||
bool GetKeyInfo(size_t* pnSubKeys, size_t* pnValues,
|
||||
size_t* pnMaxValueLen);
|
||||
size_t* pnMaxValueLen) const;
|
||||
|
||||
/**
|
||||
Gets the name of the registry key.
|
||||
*/
|
||||
wxString GetName(bool bShortPrefix = true);
|
||||
wxString GetName(bool bShortPrefix = true) const;
|
||||
|
||||
/**
|
||||
Gets the next key.
|
||||
*/
|
||||
bool GetNextKey(wxString& strKeyName, long& lIndex);
|
||||
bool GetNextKey(wxString& strKeyName, long& lIndex) const;
|
||||
|
||||
/**
|
||||
Gets the next key value for this key.
|
||||
*/
|
||||
bool GetNextValue(wxString& strValueName, long& lIndex);
|
||||
bool GetNextValue(wxString& strValueName, long& lIndex) const;
|
||||
|
||||
/**
|
||||
Returns @true if given subkey exists.
|
||||
*/
|
||||
bool HasSubKey(const wxChar* szKey);
|
||||
bool HasSubKey(const wxChar* szKey) const;
|
||||
|
||||
/**
|
||||
Returns @true if any subkeys exist.
|
||||
*/
|
||||
bool HasSubKeys();
|
||||
bool HasSubKeys() const;
|
||||
|
||||
/**
|
||||
Returns @true if the value exists.
|
||||
*/
|
||||
bool HasValue(const wxChar* szValue);
|
||||
bool HasValue(const wxChar* szValue) const;
|
||||
|
||||
/**
|
||||
Returns @true if any values exist.
|
||||
*/
|
||||
bool HasValues();
|
||||
bool HasValues() const;
|
||||
|
||||
/**
|
||||
Returns @true if this key is empty, nothing under this key.
|
||||
*/
|
||||
bool IsEmpty();
|
||||
bool IsEmpty() const;
|
||||
|
||||
/**
|
||||
Returns @true if the key is opened.
|
||||
*/
|
||||
bool IsOpened();
|
||||
bool IsOpened() const;
|
||||
|
||||
/**
|
||||
Explicitly opens the key. This method also allows the key to be opened in
|
||||
@@ -160,8 +160,8 @@ public:
|
||||
/**
|
||||
Retrieves the numeric value.
|
||||
*/
|
||||
bool QueryValue(const wxChar* szValue, wxString& strValue);
|
||||
bool QueryValue(const wxChar* szValue, long* plValue);
|
||||
bool QueryValue(const wxChar* szValue, wxString& strValue) const;
|
||||
const bool QueryValue(const wxChar* szValue, long* plValue) const;
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user