Main Page | File List

DecodingThread.h

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 // DecodingThread.h : header file
00008 //
00009 
00010 #include "CLient.h"
00011 
00012 
00013 
00015 // CDecodingThread thread
00016 
00017 class CDecodingThread : public CWinThread
00018 {
00019         DECLARE_DYNCREATE(CDecodingThread)
00020 protected:
00021         CDecodingThread();           // protected constructor used by dynamic creation
00022 
00023 // Attributes
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 // Operations
00035 public:
00036 
00037 // Overrides
00038         // ClassWizard generated virtual function overrides
00039         //{{AFX_VIRTUAL(CDecodingThread)
00040         public:
00041         virtual BOOL InitInstance();
00042         virtual int ExitInstance();
00043         virtual int Run();
00044         //}}AFX_VIRTUAL
00045 
00046 // Implementation
00047 protected:
00048 
00049 
00050         // Generated message map functions
00051         //{{AFX_MSG(CDecodingThread)
00052                 // NOTE - the ClassWizard will add and remove member functions here.
00053         //}}AFX_MSG
00054 
00055         DECLARE_MESSAGE_MAP()
00056 };
00057 
00059 
00060 //{{AFX_INSERT_LOCATION}}
00061 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00062 
00063 #endif // !defined(AFX_DECODINGTHREAD_H__2B57535E_EDE0_4BB6_BFF4_89B5D1E4BEA1__INCLUDED_)

Generated on Mon May 8 22:27:08 2006 by  doxygen 1.3.9.1