This commit is contained in:
Dmitry 2016-10-05 13:26:40 +08:00 committed by Ricardo Quesada
parent d68eacd10a
commit 771a69709f
2 changed files with 17 additions and 0 deletions

View File

@ -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
)

View File

@ -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 {