embedding/qa/testembed/PrintProgressDialog.h - Revision 1.1

There were 4 changes made.
Legend
   Added lines
   Changed lines
   Removed lines

embedding/qa/testembed/PrintProgressDialog.h,1.1
.
Disk File
Skipping to line 4. 
#if _MSC_VER > 1000
.
#if _MSC_VER > 1000
#pragma once
.
#pragma once
#endif // _MSC_VER > 1000
.
#endif // _MSC_VER > 1000
// PrintProgressDialog.h : header file
.
// PrintProgressDialog.h : header file
//
.
//
 
.
 
#include "nsIPrintListener.h"
.
 
class nsIWebBrowser;
.
class nsIWebBrowser;
class nsIDOMWindow;
.
class nsIDOMWindow;
class nsIPrintListener;
.
 
 
.
 
/////////////////////////////////////////////////////////////////////////////
.
/////////////////////////////////////////////////////////////////////////////
// CPrintProgressDialog dialog
.
// CPrintProgressDialog dialog
 
.
 
class CPrintProgressDialog : public CDialog
.
class CPrintProgressDialog : public CDialog
Skipping to line 23. 
	virtual ~CPrintProgressDialog();
.
	virtual ~CPrintProgressDialog();
  virtual int DoModal( );
.
  virtual int DoModal( );
 
.
 
  // Helper
.
  // Helper
  void SetURI(const char* aTitle);
.
  void SetURI(const char* aTitle);
 
.
 
  // same as nsIPrintListener
.
 
  NS_IMETHOD OnStartPrinting(void);
.
 
  NS_IMETHOD OnProgressPrinting(PRUint32 aProgress, PRUint32 aProgressMax);
.
 
  NS_IMETHOD OnEndPrinting(PRUint32 aStatus);
.
 
 
.
 
// Dialog Data
.
// Dialog Data
	//{{AFX_DATA(CPrintProgressDialog)
.
	//{{AFX_DATA(CPrintProgressDialog)
	enum { IDD = IDD_PRINT_PROGRESS_DIALOG };
.
	enum { IDD = IDD_PRINT_PROGRESS_DIALOG };
		// NOTE: the ClassWizard will add data members here
.
		// NOTE: the ClassWizard will add data members here
Skipping to line 45. 
protected:
.
protected:
	CProgressCtrl              m_wndProgress;
.
	CProgressCtrl              m_wndProgress;
  CString                    m_URL;
.
  CString                    m_URL;
  nsIWebBrowser*             m_WebBrowser;
.
  nsIWebBrowser*             m_WebBrowser;
  nsIDOMWindow*              m_DOMWin;
.
  nsIDOMWindow*              m_DOMWin;
  nsCOMPtr<nsIPrintListener> m_PrintListener;
.
  nsCOMPtr<nsIWebProgressListener> m_PrintListener;
  BOOL                       m_InModalMode;
.
  BOOL                       m_InModalMode;
 
.
 
	// Generated message map functions
.
	// Generated message map functions
	//{{AFX_MSG(CPrintProgressDialog)
.
	//{{AFX_MSG(CPrintProgressDialog)
	virtual BOOL OnInitDialog();
.
	virtual BOOL OnInitDialog();