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 > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
7 // -*- C++ -*-
8 // Logging.h : header file
9 //
11 #include "ResizeDlg.h"
13 /////////////////////////////////////////////////////////////////////////////
14 // Logging dialog
16 class Logging : public ResizeDlg
17 {
18 // Construction
19 public:
20 void log(const char *);
21 Logging(CWnd*pParent = NULL); // standard constructor
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
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
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 };
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_)