adds OBJECT_TYPE info to CocosDenshion

This commit is contained in:
Rolando Abarca 2012-07-18 14:40:29 -07:00 committed by folecr
parent 4e640ecb35
commit 2ea8350518
2 changed files with 5 additions and 0 deletions

View File

@ -38,6 +38,9 @@ namespace CocosDenshion {
class EXPORT_DLL SimpleAudioEngine
{
public:
static const char* OBJECT_TYPE;
const char* getObjectType() { return SimpleAudioEngine::OBJECT_TYPE; }
SimpleAudioEngine();
~SimpleAudioEngine();

View File

@ -141,6 +141,8 @@ namespace CocosDenshion {
static SimpleAudioEngine *s_pEngine;
const char* SimpleAudioEngine::OBJECT_TYPE = "SimpleAudioEngine";
SimpleAudioEngine::SimpleAudioEngine()
{