00001
00002
00004
00005 #if !defined(AFX_MAINFRM_H__AF9A9E5A_EE68_41D8_B1F8_B0B0E3D2D2D8__INCLUDED_)
00006 #define AFX_MAINFRM_H__AF9A9E5A_EE68_41D8_B1F8_B0B0E3D2D2D8__INCLUDED_
00007
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011
00012 #include "ComboToolBar.h"
00013 #include "Client.h"
00014 #include "DecodingThread.h"
00015 #include "GlobalCon.h"
00016
00017 class CMainFrame : public CFrameWnd
00018 {
00019
00020 protected:
00021 CMainFrame();
00022 DECLARE_DYNCREATE(CMainFrame)
00023
00024
00025 public:
00026 CDecodingThread *m_DecodingThread;
00027 bool m_SocketIsAvailable;
00028
00029
00030
00031 public:
00032
00033
00034
00035 virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
00036
00037
00038
00039
00040 public:
00041 virtual ~CMainFrame();
00042 void AddVideo(const char* video);
00043 #ifdef _DEBUG
00044 virtual void AssertValid() const;
00045 virtual void Dump(CDumpContext& dc) const;
00046 #endif
00047
00048 protected:
00049 CStatusBar m_wndStatusBar;
00050 CComboToolBar m_wndToolBar;
00051
00052
00053 protected:
00054
00055 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
00056 afx_msg void OnConnect();
00057 afx_msg void OnDisconnect();
00058 afx_msg void OnStop();
00059 afx_msg void OnSetting();
00060 afx_msg void OnRequest();
00061 afx_msg void OnAppExit();
00062
00063 DECLARE_MESSAGE_MAP()
00064 };
00065
00067
00068
00069
00070
00071 #endif