Mercurial > vba-linux
view src/win32/Logging.h @ 2:3549bbe597ed
adding makefile.am
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:31:47 -0600 |
parents | f9f4f1b99eed |
children |
line wrap: on
line source
1 #if !defined(AFX_LOGGING_H__222FC21A_D40D_450D_8A1C_D33305E47B85__INCLUDED_)2 #define AFX_LOGGING_H__222FC21A_D40D_450D_8A1C_D33305E47B85__INCLUDED_4 #if _MSC_VER > 10005 #pragma once6 #endif // _MSC_VER > 10007 // -*- C++ -*-8 // Logging.h : header file9 //11 #include "ResizeDlg.h"13 /////////////////////////////////////////////////////////////////////////////14 // Logging dialog16 class Logging : public ResizeDlg17 {18 // Construction19 public:20 void log(const char *);21 Logging(CWnd*pParent = NULL); // standard constructor23 // Dialog Data24 //{{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_DATA39 // Overrides40 // ClassWizard generated virtual function overrides41 //{{AFX_VIRTUAL(Logging)42 protected:43 virtual void DoDataExchange(CDataExchange*pDX); // DDX/DDV support44 virtual void PostNcDestroy();45 //}}AFX_VIRTUAL47 // Implementation48 protected:49 // Generated message map functions50 //{{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_MSG69 DECLARE_MESSAGE_MAP()70 public:71 static Logging *instance;72 static CString text;73 };75 //{{AFX_INSERT_LOCATION}}76 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.78 #endif // !defined(AFX_LOGGING_H__222FC21A_D40D_450D_8A1C_D33305E47B85__INCLUDED_)