#if !defined(AFX_DEBUG_H__935CB5B8_8B17_488C_BF6E_B40A3CB79B68__INCLUDED_)
#define AFX_DEBUG_H__935CB5B8_8B17_488C_BF6E_B40A3CB79B68__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// debug.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// Cdebug dialog

#define MAX_PRINTF_NUM    2048
class Cdebug : public CDialog
{
// Construction
public:
	Cdebug(CWnd* pParent = NULL);   // standard constructor
	void addPrintf(char *log);

// Dialog Data
	//{{AFX_DATA(Cdebug)
	enum { IDD = IDD_PTF_WND };
	CListBox	m_printf;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(Cdebug)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(Cdebug)
	afx_msg void OnClrBuf();
	afx_msg void OnSave();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DEBUG_H__935CB5B8_8B17_488C_BF6E_B40A3CB79B68__INCLUDED_)
