#if !defined(AFX_CPagePreview_H__E7EDBA8B_E2C6_4927_95BC_C2A01B8ACFAD__INCLUDED_) #define AFX_CPagePreview_H__E7EDBA8B_E2C6_4927_95BC_C2A01B8ACFAD__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // CPagePreview.h : header file // #include "Page.h" #include "PageData.h" #include "BaseObj.h" ///////////////////////////////////////////////////////////////////////////// // CPagePreview dialog class CPagePreview : public CPage, CNVAPIExamplePage , public BaseObj, public NeroVisionAPI::IPreviewCallback { // Construction public: CPagePreview(CSheet * pParentSheet); // standard constructor // Dialog Data //{{AFX_DATA(CPagePreview) enum { IDD = IDD_PREVIEW_PAGE }; CSliderCtrl m_slider; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CPagePreview) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CPagePreview) virtual BOOL OnInitDialog(); afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); //}}AFX_MSG DECLARE_MESSAGE_MAP() public: bool Create (void); bool OnBack (void); void OnChangeState (bool bActivate, bool bForward); NeroVisionAPI::IPreviewPtr m_preview; IMPL_IUNKNOWN IMPL_INTERFACE(NeroVisionAPI::IPreviewCallback) STDMETHODIMP raw_NotifyPosChanged(double pos, int title, int chapter); STDMETHODIMP raw_NotifyPlaybackEnd(); void SetSliderUpdate(bool enable) { m_setSlider = enable; } private: bool m_setSlider; }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_CPagePreview_H__E7EDBA8B_E2C6_4927_95BC_C2A01B8ACFAD__INCLUDED_)