Main Page | File List

MainFrm.h

00001 // MainFrm.h : interface of the CMainFrame class
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: // create from serialization only
00021         CMainFrame();
00022         DECLARE_DYNCREATE(CMainFrame)
00023 
00024 // Attributes
00025 public:
00026         CDecodingThread *m_DecodingThread;
00027         bool m_SocketIsAvailable;
00028 
00029         
00030 // Operations
00031 public:
00032 // Overrides
00033         // ClassWizard generated virtual function overrides
00034         //{{AFX_VIRTUAL(CMainFrame)
00035         virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
00036         
00037         //}}AFX_VIRTUAL
00038 
00039 // Implementation
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:  // control bar embedded members
00049         CStatusBar  m_wndStatusBar;
00050         CComboToolBar    m_wndToolBar;
00051 
00052 // Generated message map functions
00053 protected:
00054         //{{AFX_MSG(CMainFrame)
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         //}}AFX_MSG
00063         DECLARE_MESSAGE_MAP()
00064 };
00065 
00067 
00068 //{{AFX_INSERT_LOCATION}}
00069 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00070 
00071 #endif // !defined(AFX_MAINFRM_H__AF9A9E5A_EE68_41D8_B1F8_B0B0E3D2D2D8__INCLUDED_)

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