const correctness

This commit is contained in:
Timothee 'TTimo' Besset 2012-09-17 21:31:35 -05:00
parent def29cb7b4
commit f64e6ac7fe
2 changed files with 4 additions and 4 deletions

View file

@ -307,8 +307,8 @@ public:
CSynapseClient();
virtual ~CSynapseClient();
int GetAPICount(); ///< returns the number of APIs that this module provides
APIDescriptor_t* GetAPIDescriptor( int ); ///< retrieve specific information about on of the APIs
int GetAPICount() const; ///< returns the number of APIs that this module provides
APIDescriptor_t* GetAPIDescriptor( int ) const; ///< retrieve specific information about on of the APIs
/*!
Add the API to the CSynapseClient information

View file

@ -816,11 +816,11 @@ CSynapseClient::~CSynapseClient(){
Shutdown();
}
int CSynapseClient::GetAPICount(){
int CSynapseClient::GetAPICount() const {
return mAPIDescriptors.size();
}
APIDescriptor_t* CSynapseClient::GetAPIDescriptor( int i ){
APIDescriptor_t* CSynapseClient::GetAPIDescriptor( int i ) const {
return mAPIDescriptors[i];
}