gps/GPSResources/tcpmpVerOld/PlayerTest1/TcpmpPlayer.h

28 lines
501 B
C++
Executable File

#pragma once
#include "PlayerTest1.h"
#define TCPMPCLASS "{36816029-BEA1-4dbf-BA81-B7C97CF7331E}"
class CTcpmpPlayer
{
private:
player* m_Player;
public:
CTcpmpPlayer(void);
public:
~CTcpmpPlayer(void);
public:
// 初始化TCPMP播放器
bool Init(char* pVersion,int iVer = 1,void* pVideoWnd = NULL);
public:
void SetDisplayRect(LPRECT lRect);
public:
void Play(bool bPause);
public:
void Stop(void);
public:
BOOL IsPlaying(void);
public:
tick_t GetDuration(void);
};