File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -132,11 +132,13 @@ Application* Application::getInstance()
132132 return sm_pSharedApplication;
133133}
134134
135+ #ifndef AX_CORE_PROFILE
135136// @deprecated Use getInstance() instead
136137Application* Application::sharedApplication ()
137138{
138139 return Application::getInstance ();
139140}
141+ #endif
140142
141143const char * Application::getCurrentLanguageCode ()
142144{
Original file line number Diff line number Diff line change @@ -211,6 +211,7 @@ void Application::setAnimationInterval(float interval)
211211 s_animationInterval = static_cast <int64_t >(interval * NANOSECONDSPERSECOND);
212212}
213213
214+ #ifndef AX_CORE_PROFILE
214215void Application::setResourceRootPath (const std::string& rootResDir)
215216{
216217 _resourceRootPath = rootResDir;
@@ -228,6 +229,7 @@ const std::string& Application::getResourceRootPath()
228229{
229230 return _resourceRootPath;
230231}
232+ #endif
231233
232234Application::Platform Application::getTargetPlatform ()
233235{
@@ -255,11 +257,13 @@ Application* Application::getInstance()
255257 return sm_pSharedApplication;
256258}
257259
260+ #ifndef AX_CORE_PROFILE
258261// @deprecated Use getInstance() instead
259262Application* Application::sharedApplication ()
260263{
261264 return Application::getInstance ();
262265}
266+ #endif
263267
264268const char * Application::getCurrentLanguageCode ()
265269{
You can’t perform that action at this time.
0 commit comments