Play-/tools/MediaCenter/Source/win32ui/MainWindow.h

28 lines
578 B
C
Raw Permalink Normal View History

#ifndef _MAINWINDOW_H_
#define _MAINWINDOW_H_
#include "win32/Window.h"
#include "FrameBufferWindow.h"
#include "../VideoDecoder.h"
#include <memory>
class CMainWindow : public Framework::Win32::CWindow
{
public:
2018-04-30 21:01:23 +01:00
CMainWindow();
virtual ~CMainWindow();
protected:
2018-04-30 21:01:23 +01:00
long OnCommand(unsigned short, unsigned short, HWND);
private:
2018-04-30 21:01:23 +01:00
void OnNewFrame(const Framework::CBitmap&);
void OnFileOpen();
2018-04-30 21:01:23 +01:00
CFrameBufferWindow* m_frameBufferWindow;
std::shared_ptr<CVideoDecoder> m_videoDecoder;
NewFrameEvent::Connection m_onNewFrameConnection;
};
#endif