mirror of https://github.com/axmolengine/axmol.git
parent
d68eacd10a
commit
771a69709f
|
@ -44,6 +44,7 @@ set(COCOS_PLATFORM_SPECIFIC_SRC
|
|||
platform/apple/CCLock-apple.cpp
|
||||
platform/apple/CCFileUtils-apple.mm
|
||||
platform/apple/CCThread-apple.mm
|
||||
platform/apple/CCDevice-apple.mm
|
||||
platform/desktop/CCGLViewImpl-desktop.cpp
|
||||
)
|
||||
|
||||
|
|
|
@ -23,6 +23,22 @@
|
|||
THE SOFTWARE.
|
||||
****************************************************************************/
|
||||
|
||||
#include "platform/CCPlatformConfig.h"
|
||||
#include "platform/CCDevice.h"
|
||||
|
||||
#if CC_TARGET_PLATFORM == CC_PLATFORM_MAC
|
||||
|
||||
#include <Foundation/Foundation.h>
|
||||
#include <Cocoa/Cocoa.h>
|
||||
#include <string>
|
||||
|
||||
#elif CC_TARGET_PLATFORM == CC_PLATFORM_IOS
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
#endif
|
||||
|
||||
#include "base/ccTypes.h"
|
||||
#include "platform/apple/CCDevice-apple.h"
|
||||
|
||||
namespace FontUtils {
|
||||
|
|
Loading…
Reference in New Issue