#if !defined(AFX_PAGEEXPORT_H__89BB75C9_8F66_40A6_A933_36F74B782F10__INCLUDED_) #define AFX_PAGEEXPORT_H__89BB75C9_8F66_40A6_A933_36F74B782F10__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // PageExport.h : header file // #include "Page.h" #include "PageData.h" #include "BaseObj.h" ///////////////////////////////////////////////////////////////////////////// // CPageExport dialog class CPageExport : public CPage, CNVAPIExamplePage , public BaseObj, public NeroVisionAPI::IProgressCallback { // Construction public: CPageExport(CSheet * pParentSheet); // standard constructor // Dialog Data //{{AFX_DATA(CPageExport) enum { IDD = IDD_EXPORT_PAGE }; CStatic c_textTotalRemainTime; CStatic c_textTotalProgress; CStatic c_textCurrentRemainTime; CStatic m_textCurrentProgress; CProgressCtrl c_ProgressTotal; CProgressCtrl c_progressCurrent; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CPageExport) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam); //}}AFX_VIRTUAL // Implementation bool Create (void); bool OnBack (void); bool OnNext (void); void OnChangeState (bool bActivate, bool bForward); void FormatTimeString(double secs, const TCHAR* format, TCHAR* buffer); IMPL_IUNKNOWN IMPL_INTERFACE(NeroVisionAPI::IProgressCallback) STDMETHODIMP raw_OnProgress (enum NeroVisionAPI::ProgressAction action, BSTR itemName, double currentRemain, double currentTotal, float currentFraction, double totalRemain, double totalTotal, float totalFraction); STDMETHODIMP raw_ShouldCancel(VARIANT_BOOL* pbCancel) ; protected: // Generated message map functions //{{AFX_MSG(CPageExport) // NOTE: the ClassWizard will add member functions here //}}AFX_MSG DECLARE_MESSAGE_MAP() private: bool m_bActiveState; HANDLE m_thread; _bstr_t m_exportFilename; bool m_IsAborting; CPageData* m_pageData; static DWORD WINAPI BeginThreadFunc(void* p); void ExportProcess(); }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_PAGEEXPORT_H__89BB75C9_8F66_40A6_A933_36F74B782F10__INCLUDED_)