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