28 lines
501 B
C
28 lines
501 B
C
|
#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:
|
|||
|
// <20><>ʼ<EFBFBD><CABC>TCPMP<4D><50><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
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);
|
|||
|
};
|