xref: /freebsd/crypto/krb5/src/windows/leash/LeashDebugWindow.h (revision 7f2fe78b9dd5f51c821d771b63d2e096f6fd49e9)
1*7f2fe78bSCy Schubert //	**************************************************************************************
2*7f2fe78bSCy Schubert //	File:			LeashDebugWindow.h
3*7f2fe78bSCy Schubert //	By:				Arthur David Leather
4*7f2fe78bSCy Schubert //	Created:		12/02/98
5*7f2fe78bSCy Schubert //	Copyright		@1998 Massachusetts Institute of Technology - All rights reserved.
6*7f2fe78bSCy Schubert //	Description:	H file for LeashDebugWindow.cpp. Contains variables and functions
7*7f2fe78bSCy Schubert //					for the Leash Debug Window
8*7f2fe78bSCy Schubert //
9*7f2fe78bSCy Schubert //	History:
10*7f2fe78bSCy Schubert //
11*7f2fe78bSCy Schubert //	MM/DD/YY	Inits	Description of Change
12*7f2fe78bSCy Schubert //	12/02/98	ADL		Original
13*7f2fe78bSCy Schubert //	**************************************************************************************
14*7f2fe78bSCy Schubert 
15*7f2fe78bSCy Schubert 
16*7f2fe78bSCy Schubert #if !defined(AFX_LEASHDEBUGWINDOW_H__DB6F7EE8_570E_11D2_9460_0000861B8A3C__INCLUDED_)
17*7f2fe78bSCy Schubert #define AFX_LEASHDEBUGWINDOW_H__DB6F7EE8_570E_11D2_9460_0000861B8A3C__INCLUDED_
18*7f2fe78bSCy Schubert 
19*7f2fe78bSCy Schubert #if _MSC_VER > 1000
20*7f2fe78bSCy Schubert #pragma once
21*7f2fe78bSCy Schubert #endif // _MSC_VER > 1000
22*7f2fe78bSCy Schubert // LeashDebugWindow.h
23*7f2fe78bSCy Schubert //
24*7f2fe78bSCy Schubert 
25*7f2fe78bSCy Schubert /////////////////////////////////////////////////////////////////////////////
26*7f2fe78bSCy Schubert // CLeashDebugWindow dialog
27*7f2fe78bSCy Schubert 
28*7f2fe78bSCy Schubert #define WM_GOODBYE WM_USER + 5
29*7f2fe78bSCy Schubert 
30*7f2fe78bSCy Schubert class CLeashDebugWindow : public CDialog
31*7f2fe78bSCy Schubert {
32*7f2fe78bSCy Schubert private:
33*7f2fe78bSCy Schubert 	BOOL m_CopyButton;
34*7f2fe78bSCy Schubert 	CFormView* m_pView;
35*7f2fe78bSCy Schubert 	CString m_debugFilePath;
36*7f2fe78bSCy Schubert 
37*7f2fe78bSCy Schubert // Construction
38*7f2fe78bSCy Schubert public:
39*7f2fe78bSCy Schubert 	CLeashDebugWindow(CWnd* pParent = NULL);
40*7f2fe78bSCy Schubert 	CLeashDebugWindow(CFormView* pView);
41*7f2fe78bSCy Schubert 	BOOL Create(const LPCSTR debugFilePath);
42*7f2fe78bSCy Schubert 
43*7f2fe78bSCy Schubert 
44*7f2fe78bSCy Schubert // Dialog Data
45*7f2fe78bSCy Schubert 	//{{AFX_DATA(CLeashDebugWindow)
46*7f2fe78bSCy Schubert 	enum { IDD = IDD_LEASH_DEBUG_WINDOW };
47*7f2fe78bSCy Schubert 	CStatic	m_debugFile;
48*7f2fe78bSCy Schubert 	CListBox	m_debugListBox;
49*7f2fe78bSCy Schubert 	//}}AFX_DATA
50*7f2fe78bSCy Schubert 
51*7f2fe78bSCy Schubert 
52*7f2fe78bSCy Schubert // Overrides
53*7f2fe78bSCy Schubert 	// ClassWizard generated virtual function overrides
54*7f2fe78bSCy Schubert 	//{{AFX_VIRTUAL(CLeashDebugWindow)
55*7f2fe78bSCy Schubert 	public:
56*7f2fe78bSCy Schubert 	virtual BOOL PreTranslateMessage(MSG* pMsg);
57*7f2fe78bSCy Schubert 	protected:
58*7f2fe78bSCy Schubert 	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
59*7f2fe78bSCy Schubert 	//}}AFX_VIRTUAL
60*7f2fe78bSCy Schubert 
61*7f2fe78bSCy Schubert // Implementation
62*7f2fe78bSCy Schubert protected:
63*7f2fe78bSCy Schubert 
64*7f2fe78bSCy Schubert 	// Generated message map functions
65*7f2fe78bSCy Schubert 	//{{AFX_MSG(CLeashDebugWindow)
66*7f2fe78bSCy Schubert 	virtual void OnCancel();
67*7f2fe78bSCy Schubert 	virtual void OnOK();
68*7f2fe78bSCy Schubert 	afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
69*7f2fe78bSCy Schubert 	afx_msg void OnCopyToClipboard();
70*7f2fe78bSCy Schubert 	virtual BOOL OnInitDialog();
71*7f2fe78bSCy Schubert 	//}}AFX_MSG
72*7f2fe78bSCy Schubert 	DECLARE_MESSAGE_MAP()
73*7f2fe78bSCy Schubert };
74*7f2fe78bSCy Schubert 
75*7f2fe78bSCy Schubert //{{AFX_INSERT_LOCATION}}
76*7f2fe78bSCy Schubert // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
77*7f2fe78bSCy Schubert 
78*7f2fe78bSCy Schubert #endif // !defined(AFX_LEASHDEBUGWINDOW_H__DB6F7EE8_570E_11D2_9460_0000861B8A3C__INCLUDED_)
79