#ifndef __CUSTOMSONGWIDGET_H__ #define __CUSTOMSONGWIDGET_H__ #include namespace gd { class FLAlertLayer; class FLAlertLayerProtocol; class SongInfoObject; class GDH_DLL CustomSongWidget : public cocos2d::CCNode, MusicDownloadDelegate, FLAlertLayerProtocol { public: SongInfoObject* m_songInfo; PAD(0x1C); CCMenuItemSpriteExtra *m_pDownloadBtn; PAD(0x30); void updateSongObject(SongInfoObject* song) { reinterpret_cast(base + 0x69280)(this, song); } virtual void FLAlert_Clicked(FLAlertLayer*, bool) {} // too lazy to type out all of them virtual void loadSongInfoFinished(SongInfoObject*) {} }; } #endif