rlm@1
|
1 #if !defined(AFX_LOGGING_H__222FC21A_D40D_450D_8A1C_D33305E47B85__INCLUDED_)
|
rlm@1
|
2 #define AFX_LOGGING_H__222FC21A_D40D_450D_8A1C_D33305E47B85__INCLUDED_
|
rlm@1
|
3
|
rlm@1
|
4 #if _MSC_VER > 1000
|
rlm@1
|
5 #pragma once
|
rlm@1
|
6 #endif // _MSC_VER > 1000
|
rlm@1
|
7 // -*- C++ -*-
|
rlm@1
|
8 // Logging.h : header file
|
rlm@1
|
9 //
|
rlm@1
|
10
|
rlm@1
|
11 #include "ResizeDlg.h"
|
rlm@1
|
12
|
rlm@1
|
13 /////////////////////////////////////////////////////////////////////////////
|
rlm@1
|
14 // Logging dialog
|
rlm@1
|
15
|
rlm@1
|
16 class Logging : public ResizeDlg
|
rlm@1
|
17 {
|
rlm@1
|
18 // Construction
|
rlm@1
|
19 public:
|
rlm@1
|
20 void log(const char *);
|
rlm@1
|
21 Logging(CWnd*pParent = NULL); // standard constructor
|
rlm@1
|
22
|
rlm@1
|
23 // Dialog Data
|
rlm@1
|
24 //{{AFX_DATA(Logging)
|
rlm@1
|
25 enum { IDD = IDD_LOGGING };
|
rlm@1
|
26 CEdit m_log;
|
rlm@1
|
27 BOOL m_swi;
|
rlm@1
|
28 BOOL m_unaligned_access;
|
rlm@1
|
29 BOOL m_illegal_write;
|
rlm@1
|
30 BOOL m_illegal_read;
|
rlm@1
|
31 BOOL m_dma0;
|
rlm@1
|
32 BOOL m_dma1;
|
rlm@1
|
33 BOOL m_dma2;
|
rlm@1
|
34 BOOL m_dma3;
|
rlm@1
|
35 BOOL m_agbprint;
|
rlm@1
|
36 BOOL m_undefined;
|
rlm@1
|
37 //}}AFX_DATA
|
rlm@1
|
38
|
rlm@1
|
39 // Overrides
|
rlm@1
|
40 // ClassWizard generated virtual function overrides
|
rlm@1
|
41 //{{AFX_VIRTUAL(Logging)
|
rlm@1
|
42 protected:
|
rlm@1
|
43 virtual void DoDataExchange(CDataExchange*pDX); // DDX/DDV support
|
rlm@1
|
44 virtual void PostNcDestroy();
|
rlm@1
|
45 //}}AFX_VIRTUAL
|
rlm@1
|
46
|
rlm@1
|
47 // Implementation
|
rlm@1
|
48 protected:
|
rlm@1
|
49 // Generated message map functions
|
rlm@1
|
50 //{{AFX_MSG(Logging)
|
rlm@1
|
51 afx_msg void OnOk();
|
rlm@1
|
52 afx_msg void OnClear();
|
rlm@1
|
53 afx_msg void OnVerboseAgbprint();
|
rlm@1
|
54 afx_msg void OnVerboseDma0();
|
rlm@1
|
55 afx_msg void OnVerboseDma1();
|
rlm@1
|
56 afx_msg void OnVerboseDma2();
|
rlm@1
|
57 afx_msg void OnVerboseDma3();
|
rlm@1
|
58 afx_msg void OnVerboseIllegalRead();
|
rlm@1
|
59 afx_msg void OnVerboseIllegalWrite();
|
rlm@1
|
60 afx_msg void OnVerboseSwi();
|
rlm@1
|
61 afx_msg void OnVerboseUnalignedAccess();
|
rlm@1
|
62 afx_msg void OnVerboseUndefined();
|
rlm@1
|
63 afx_msg void OnSave();
|
rlm@1
|
64 afx_msg void OnErrspaceLog();
|
rlm@1
|
65 afx_msg void OnMaxtextLog();
|
rlm@1
|
66 virtual BOOL OnInitDialog();
|
rlm@1
|
67 afx_msg void OnClose();
|
rlm@1
|
68 //}}AFX_MSG
|
rlm@1
|
69 DECLARE_MESSAGE_MAP()
|
rlm@1
|
70 public:
|
rlm@1
|
71 static Logging *instance;
|
rlm@1
|
72 static CString text;
|
rlm@1
|
73 };
|
rlm@1
|
74
|
rlm@1
|
75 //{{AFX_INSERT_LOCATION}}
|
rlm@1
|
76 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
rlm@1
|
77
|
rlm@1
|
78 #endif // !defined(AFX_LOGGING_H__222FC21A_D40D_450D_8A1C_D33305E47B85__INCLUDED_)
|