2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module Application
|
2014-07-02 10:15:26 +08:00
|
|
|
-- @parent_module cc
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2014-09-25 14:50:06 +08:00
|
|
|
-- brief Open url in default browser<br>
|
|
|
|
-- param String with url to open.<br>
|
|
|
|
-- return true if the resource located by the URL was successfully opened; otherwise false.
|
|
|
|
-- @function [parent=#Application] openURL
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-09-25 14:50:06 +08:00
|
|
|
-- @param #string url
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-25 14:50:06 +08:00
|
|
|
-- brief Get target platform
|
|
|
|
-- @function [parent=#Application] getTargetPlatform
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-09-25 14:50:06 +08:00
|
|
|
-- @return int#int ret (return value: int)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- brief Get current language config<br>
|
|
|
|
-- return Current language config
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#Application] getCurrentLanguage
|
|
|
|
-- @param self
|
2014-07-17 22:20:04 +08:00
|
|
|
-- @return int#int ret (return value: int)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
2014-09-25 14:50:06 +08:00
|
|
|
--------------------------------
|
|
|
|
-- brief Get current language iso 639-1 code<br>
|
|
|
|
-- return Current language iso 639-1 code
|
|
|
|
-- @function [parent=#Application] getCurrentLanguageCode
|
|
|
|
-- @param self
|
|
|
|
-- @return char#char ret (return value: char)
|
|
|
|
|
2014-03-21 16:38:19 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- brief Callback by Director to limit FPS.<br>
|
|
|
|
-- param interval The time, expressed in seconds, between current frame and next.
|
2014-03-21 16:38:19 +08:00
|
|
|
-- @function [parent=#Application] setAnimationInterval
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #double interval
|
2014-03-21 16:38:19 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- brief Get current application instance.<br>
|
|
|
|
-- return Current application instance pointer.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#Application] getInstance
|
|
|
|
-- @param self
|
|
|
|
-- @return Application#Application ret (return value: cc.Application)
|
|
|
|
|
|
|
|
return nil
|