#ifndef _MAINWINDOW_H_ #define _MAINWINDOW_H_ #include "win32/Window.h" #include "FrameBufferWindow.h" #include "../VideoDecoder.h" #include class CMainWindow : public Framework::Win32::CWindow { public: CMainWindow(); virtual ~CMainWindow(); protected: long OnCommand(unsigned short, unsigned short, HWND); private: void OnNewFrame(const Framework::CBitmap&); void OnFileOpen(); CFrameBufferWindow* m_frameBufferWindow; std::shared_ptr m_videoDecoder; NewFrameEvent::Connection m_onNewFrameConnection; }; #endif