mirror of https://github.com/axmolengine/axmol.git
fixed warnings on Android and windows
This commit is contained in:
parent
b2b93bef0a
commit
f7fd7a8af5
|
@ -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();
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue