mirror of https://github.com/axmolengine/axmol.git
Fixed warnings about missing override in CCApplication for iOS/Mac
This commit is contained in:
parent
11fc969ecb
commit
61ce3e8a03
|
@ -67,24 +67,24 @@ public:
|
|||
@brief Callback by Director for limit FPS.
|
||||
@param interval The time, expressed in seconds, between current frame and next.
|
||||
*/
|
||||
virtual void setAnimationInterval(float interval);
|
||||
virtual void setAnimationInterval(float interval) override;
|
||||
|
||||
/**
|
||||
@brief Get current language config
|
||||
@return Current language config
|
||||
*/
|
||||
virtual LanguageType getCurrentLanguage();
|
||||
virtual LanguageType getCurrentLanguage() override;
|
||||
|
||||
/**
|
||||
@brief Get current language iso 639-1 code
|
||||
@return Current language iso 639-1 code
|
||||
*/
|
||||
virtual const char * getCurrentLanguageCode();
|
||||
virtual const char * getCurrentLanguageCode() override;
|
||||
|
||||
/**
|
||||
@brief Get target platform
|
||||
*/
|
||||
virtual Platform getTargetPlatform();
|
||||
virtual Platform getTargetPlatform() override;
|
||||
|
||||
/**
|
||||
@brief Get application version.
|
||||
|
@ -96,7 +96,7 @@ public:
|
|||
@param String with url to open.
|
||||
@return true if the resource located by the URL was successfully opened; otherwise false.
|
||||
*/
|
||||
virtual bool openURL(const std::string &url);
|
||||
virtual bool openURL(const std::string &url) override;
|
||||
|
||||
/**
|
||||
@brief This function will be called when the application screen size is changed.
|
||||
|
|
|
@ -52,7 +52,7 @@ public:
|
|||
@brief Callback by Director for limit FPS.
|
||||
@param interval The time, which expressed in second in second, between current frame and next.
|
||||
*/
|
||||
virtual void setAnimationInterval(float interval);
|
||||
virtual void setAnimationInterval(float interval) override;
|
||||
|
||||
/**
|
||||
@brief Get status bar rectangle in GLView window.
|
||||
|
@ -78,18 +78,18 @@ public:
|
|||
@brief Get current language config
|
||||
@return Current language config
|
||||
*/
|
||||
virtual LanguageType getCurrentLanguage();
|
||||
virtual LanguageType getCurrentLanguage() override;
|
||||
|
||||
/**
|
||||
@brief Get current language iso 639-1 code
|
||||
@return Current language iso 639-1 code
|
||||
*/
|
||||
virtual const char * getCurrentLanguageCode();
|
||||
virtual const char * getCurrentLanguageCode() override;
|
||||
|
||||
/**
|
||||
@brief Get target platform
|
||||
*/
|
||||
virtual Platform getTargetPlatform();
|
||||
virtual Platform getTargetPlatform() override;
|
||||
|
||||
/**
|
||||
@brief Get application version.
|
||||
|
@ -101,7 +101,7 @@ public:
|
|||
@param String with url to open.
|
||||
@return true if the resource located by the URL was successfully opened; otherwise false.
|
||||
*/
|
||||
virtual bool openURL(const std::string &url);
|
||||
virtual bool openURL(const std::string &url) override;
|
||||
|
||||
/**
|
||||
* Sets the Resource root path.
|
||||
|
|
Loading…
Reference in New Issue