mirror of https://github.com/axmolengine/axmol.git
27 lines
420 B
C++
27 lines
420 B
C++
|
|
#ifndef __CCB_CCDATA_H__
|
|
#define __CCB_CCDATA_H__
|
|
|
|
#include "cocos2d.h"
|
|
#include "cocos-ext.h"
|
|
|
|
NS_CC_EXT_BEGIN
|
|
|
|
class CCData : public cocos2d::CCObject
|
|
{
|
|
public:
|
|
CCData(unsigned char *pBytes, const unsigned long nSize);
|
|
CCData(CCData *pData);
|
|
~CCData();
|
|
|
|
unsigned char* getBytes();
|
|
|
|
private:
|
|
unsigned char* m_pBytes;
|
|
unsigned long m_nSize;
|
|
};
|
|
|
|
NS_CC_EXT_END
|
|
|
|
#endif // __CCB_CCDATA_H__
|