Mercurial > vba-linux
diff 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 |
line wrap: on
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/win32/Logging.h Sat Mar 03 10:31:27 2012 -0600 1.3 @@ -0,0 +1,78 @@ 1.4 +#if !defined(AFX_LOGGING_H__222FC21A_D40D_450D_8A1C_D33305E47B85__INCLUDED_) 1.5 +#define AFX_LOGGING_H__222FC21A_D40D_450D_8A1C_D33305E47B85__INCLUDED_ 1.6 + 1.7 +#if _MSC_VER > 1000 1.8 +#pragma once 1.9 +#endif // _MSC_VER > 1000 1.10 +// -*- C++ -*- 1.11 +// Logging.h : header file 1.12 +// 1.13 + 1.14 +#include "ResizeDlg.h" 1.15 + 1.16 +///////////////////////////////////////////////////////////////////////////// 1.17 +// Logging dialog 1.18 + 1.19 +class Logging : public ResizeDlg 1.20 +{ 1.21 + // Construction 1.22 +public: 1.23 + void log(const char *); 1.24 + Logging(CWnd*pParent = NULL); // standard constructor 1.25 + 1.26 + // Dialog Data 1.27 + //{{AFX_DATA(Logging) 1.28 + enum { IDD = IDD_LOGGING }; 1.29 + CEdit m_log; 1.30 + BOOL m_swi; 1.31 + BOOL m_unaligned_access; 1.32 + BOOL m_illegal_write; 1.33 + BOOL m_illegal_read; 1.34 + BOOL m_dma0; 1.35 + BOOL m_dma1; 1.36 + BOOL m_dma2; 1.37 + BOOL m_dma3; 1.38 + BOOL m_agbprint; 1.39 + BOOL m_undefined; 1.40 + //}}AFX_DATA 1.41 + 1.42 + // Overrides 1.43 + // ClassWizard generated virtual function overrides 1.44 + //{{AFX_VIRTUAL(Logging) 1.45 +protected: 1.46 + virtual void DoDataExchange(CDataExchange*pDX); // DDX/DDV support 1.47 + virtual void PostNcDestroy(); 1.48 + //}}AFX_VIRTUAL 1.49 + 1.50 + // Implementation 1.51 +protected: 1.52 + // Generated message map functions 1.53 + //{{AFX_MSG(Logging) 1.54 + afx_msg void OnOk(); 1.55 + afx_msg void OnClear(); 1.56 + afx_msg void OnVerboseAgbprint(); 1.57 + afx_msg void OnVerboseDma0(); 1.58 + afx_msg void OnVerboseDma1(); 1.59 + afx_msg void OnVerboseDma2(); 1.60 + afx_msg void OnVerboseDma3(); 1.61 + afx_msg void OnVerboseIllegalRead(); 1.62 + afx_msg void OnVerboseIllegalWrite(); 1.63 + afx_msg void OnVerboseSwi(); 1.64 + afx_msg void OnVerboseUnalignedAccess(); 1.65 + afx_msg void OnVerboseUndefined(); 1.66 + afx_msg void OnSave(); 1.67 + afx_msg void OnErrspaceLog(); 1.68 + afx_msg void OnMaxtextLog(); 1.69 + virtual BOOL OnInitDialog(); 1.70 + afx_msg void OnClose(); 1.71 + //}}AFX_MSG 1.72 + DECLARE_MESSAGE_MAP() 1.73 +public: 1.74 + static Logging *instance; 1.75 + static CString text; 1.76 +}; 1.77 + 1.78 +//{{AFX_INSERT_LOCATION}} 1.79 +// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 1.80 + 1.81 +#endif // !defined(AFX_LOGGING_H__222FC21A_D40D_450D_8A1C_D33305E47B85__INCLUDED_)