fixed warnings on Android and windows

This commit is contained in:
minggo 2013-07-28 21:43:20 +08:00
parent b2b93bef0a
commit f7fd7a8af5
3 changed files with 0 additions and 23 deletions

View File

@ -139,12 +139,6 @@ public:
*/
friend int assetsManagerProgressFunc(void *, double, double, double, double);
// Backward compatibility
CC_DEPRECATED_ATTRIBUTE static const ErrorCode kCCCreateFile = ErrorCode::CREATE_FILE;
CC_DEPRECATED_ATTRIBUTE static const ErrorCode kCCNetwork = ErrorCode::NETWORK;
CC_DEPRECATED_ATTRIBUTE static const ErrorCode kCCNoNewVersion = ErrorCode::NO_NEW_VERSION;
CC_DEPRECATED_ATTRIBUTE static const ErrorCode kCCUncompress = ErrorCode::UNCOMPRESS;
protected:
bool downLoad();
void checkStoragePath();

View File

@ -214,13 +214,6 @@ public:
{
return _headers;
}
// Backward compatibility
CC_DEPRECATED_ATTRIBUTE static const Type kHttpGet = Type::GET;
CC_DEPRECATED_ATTRIBUTE static const Type kHttpPut = Type::PUT;
CC_DEPRECATED_ATTRIBUTE static const Type kHttpPost = Type::POST;
CC_DEPRECATED_ATTRIBUTE static const Type kHttpDelete = Type::DELETE;
CC_DEPRECATED_ATTRIBUTE static const Type kHttpUnkown = Type::UNKNOWN;
protected:
// properties

View File

@ -126,16 +126,6 @@ public:
*/
State getReadyState();
// Backward compatibility
CC_DEPRECATED_ATTRIBUTE static const ErrorCode kErrorTimeout = ErrorCode::TIME_OUT;
CC_DEPRECATED_ATTRIBUTE static const ErrorCode kErrorConnectionFailure = ErrorCode::CONNECTION_FAILURE;
CC_DEPRECATED_ATTRIBUTE static const ErrorCode kErrorUnknown = ErrorCode::UNKNOWN;
CC_DEPRECATED_ATTRIBUTE static const State kStateConnecting = State::CONNECTING;
CC_DEPRECATED_ATTRIBUTE static const State kStateOpen = State::OPEN;
CC_DEPRECATED_ATTRIBUTE static const State kStateClosing = State::CLOSING;
CC_DEPRECATED_ATTRIBUTE static const State kStateClosed = State::CLOSED;
private:
virtual void onSubThreadStarted();
virtual int onSubThreadLoop();