iw4x-client/src/Components/Modules/Playlist.hpp

24 lines
521 B
C++
Raw Normal View History

2016-01-01 20:28:09 -05:00
namespace Components
{
class Playlist : public Component
{
public:
typedef void(*Callback)();
Playlist();
~Playlist();
const char* GetName() { return "Playlist"; };
static void LoadPlaylist();
static std::string ReceivedPlaylistBuffer;
2016-01-01 20:28:09 -05:00
private:
static std::string CurrentPlaylistBuffer;
static DWORD StorePlaylistStub(const char** buffer);
static void PlaylistRequest(Network::Address address, std::string data);
static void PlaylistReponse(Network::Address address, std::string data);
};
}