Mercurial > sumwars
changeset 2004:4607ce4447e2
Removing macPath(), now in sumwarshelper.h
author | mafm |
---|---|
date | Sun, 30 Oct 2011 21:53:05 +0000 |
parents | 434ea827d505 |
children | 69d8ba6c11eb |
files | src/gui/application.h |
diffstat | 1 files changed, 0 insertions(+), 22 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gui/application.h Sun Oct 30 21:52:18 2011 +0000 +++ b/src/gui/application.h Sun Oct 30 21:53:05 2011 +0000 @@ -42,10 +42,6 @@ #include "timer.h" #include "graphicmanager.h" -#ifdef __APPLE__ -#include <CoreFoundation/CFBundle.h> -#endif - /** * \class Application * \brief Basisklasse der Anwendung @@ -200,24 +196,6 @@ std::string retrieveRenderSystemWindowSize (int& videoModeWidth, int& videoModeHeight); -#ifdef __APPLE__ - /** - * \fn Ogre::String macPath() - * \brief Returns the path to the Resources directory on mac - */ - Ogre::String macPath() - { - Ogre::String path; - CFBundleRef mainBundle = CFBundleGetMainBundle(); - CFURLRef resourcesURL = CFBundleCopyResourcesDirectoryURL(mainBundle); - char resPath[PATH_MAX]; - CFURLGetFileSystemRepresentation(resourcesURL, TRUE, (UInt8 *)resPath, PATH_MAX); - CFRelease(resourcesURL); - path = resPath; - return path; - } -#endif - // Member /** * \var Ogre::Root *m_ogre_root