Merge pull request #181 from songchengjiang/sync_load

fix errors on Windows
This commit is contained in:
XiaoYang 2014-12-19 13:33:20 +07:00
commit 6be4538f3d
4 changed files with 10 additions and 2 deletions

View File

@ -245,6 +245,7 @@ xcopy /Y /Q "$(ProjectDir)..\..\external\chipmunk\prebuilt\win32\release-lib\*.*
<ClCompile Include="..\audio\win32\SimpleAudioEngine.cpp" />
<ClCompile Include="..\base\atitc.cpp" />
<ClCompile Include="..\base\base64.cpp" />
<ClCompile Include="..\base\CCAsyncTaskPool.cpp" />
<ClCompile Include="..\base\CCAutoreleasePool.cpp" />
<ClCompile Include="..\base\ccCArray.cpp" />
<ClCompile Include="..\base\CCConfiguration.cpp" />
@ -612,6 +613,7 @@ xcopy /Y /Q "$(ProjectDir)..\..\external\chipmunk\prebuilt\win32\release-lib\*.*
<ClInclude Include="..\audio\win32\MciPlayer.h" />
<ClInclude Include="..\base\atitc.h" />
<ClInclude Include="..\base\base64.h" />
<ClInclude Include="..\base\CCAsyncTaskPool.h" />
<ClInclude Include="..\base\CCAutoreleasePool.h" />
<ClInclude Include="..\base\ccCArray.h" />
<ClInclude Include="..\base\ccConfig.h" />

View File

@ -1289,6 +1289,9 @@
<ClCompile Include="..\editor-support\cocostudio\WidgetCallBackHandlerProtocol.cpp">
<Filter>cocostudio\json</Filter>
</ClCompile>
<ClCompile Include="..\base\CCAsyncTaskPool.cpp">
<Filter>base</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\physics\CCPhysicsBody.h">
@ -2505,6 +2508,9 @@
<ClInclude Include="..\editor-support\cocostudio\WidgetCallBackHandlerProtocol.h">
<Filter>cocostudio\json</Filter>
</ClInclude>
<ClInclude Include="..\base\CCAsyncTaskPool.h">
<Filter>base</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="..\math\Mat4.inl">

View File

@ -200,7 +200,7 @@ protected:
};
///////////////////////////////////////////////////////
class Sprite3DCache
class CC_DLL Sprite3DCache
{
public:
struct Sprite3DData

View File

@ -41,7 +41,7 @@ THE SOFTWARE.
NS_CC_BEGIN
/////////////////////////////////////////////////////////////////////////////
class AsyncTaskPool
class CC_DLL AsyncTaskPool
{
public:
typedef std::function<void(void*)> TaskCallBack;