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