00001 #if !defined(AFX_DECODINGTHREAD_H__2B57535E_EDE0_4BB6_BFF4_89B5D1E4BEA1__INCLUDED_)
00002 #define AFX_DECODINGTHREAD_H__2B57535E_EDE0_4BB6_BFF4_89B5D1E4BEA1__INCLUDED_
00003
00004 #if _MSC_VER > 1000
00005 #pragma once
00006 #endif // _MSC_VER > 1000
00007
00008
00009
00010 #include "CLient.h"
00011
00012
00013
00015
00016
00017 class CDecodingThread : public CWinThread
00018 {
00019 DECLARE_DYNCREATE(CDecodingThread)
00020 protected:
00021 CDecodingThread();
00022
00023
00024 public:
00025 virtual ~CDecodingThread();
00026 CDecodingThread(CClient *pClient);
00027 void init_decoder();
00028 void init_display();
00029 CClient *m_pClient;
00030 int m_framenum;
00031 int m_first;
00032 SOCKET m_ClientSock;
00033
00034
00035 public:
00036
00037
00038
00039
00040 public:
00041 virtual BOOL InitInstance();
00042 virtual int ExitInstance();
00043 virtual int Run();
00044
00045
00046
00047 protected:
00048
00049
00050
00051
00052
00053
00054
00055 DECLARE_MESSAGE_MAP()
00056 };
00057
00059
00060
00061
00062
00063 #endif