Mercurial > vba-linux
annotate src/win32/Throttle.h @ 3:b05d00f19d80
fix some formatting
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:33:11 -0600 |
parents | f9f4f1b99eed |
children |
rev | line source |
---|---|
rlm@1 | 1 #if !defined(AFX_THROTTLE_H__5F03B6E9_0C43_4933_A7BC_1618428C2B7F__INCLUDED_) |
rlm@1 | 2 #define AFX_THROTTLE_H__5F03B6E9_0C43_4933_A7BC_1618428C2B7F__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 // Throttle.h : header file |
rlm@1 | 8 // |
rlm@1 | 9 |
rlm@1 | 10 ///////////////////////////////////////////////////////////////////////////// |
rlm@1 | 11 // Throttle dialog |
rlm@1 | 12 |
rlm@1 | 13 class Throttle : public CDialog |
rlm@1 | 14 { |
rlm@1 | 15 // Construction |
rlm@1 | 16 public: |
rlm@1 | 17 Throttle(CWnd*pParent = NULL); // standard constructor |
rlm@1 | 18 |
rlm@1 | 19 // Dialog Data |
rlm@1 | 20 //{{AFX_DATA(Throttle) |
rlm@1 | 21 enum { IDD = IDD_THROTTLE }; |
rlm@1 | 22 int m_throttle; |
rlm@1 | 23 //}}AFX_DATA |
rlm@1 | 24 |
rlm@1 | 25 // Overrides |
rlm@1 | 26 // ClassWizard generated virtual function overrides |
rlm@1 | 27 //{{AFX_VIRTUAL(Throttle) |
rlm@1 | 28 protected: |
rlm@1 | 29 virtual void DoDataExchange(CDataExchange*pDX); // DDX/DDV support |
rlm@1 | 30 //}}AFX_VIRTUAL |
rlm@1 | 31 |
rlm@1 | 32 // Implementation |
rlm@1 | 33 protected: |
rlm@1 | 34 // Generated message map functions |
rlm@1 | 35 //{{AFX_MSG(Throttle) |
rlm@1 | 36 virtual BOOL OnInitDialog(); |
rlm@1 | 37 afx_msg void OnCancel(); |
rlm@1 | 38 afx_msg void OnOk(); |
rlm@1 | 39 //}}AFX_MSG |
rlm@1 | 40 DECLARE_MESSAGE_MAP() |
rlm@1 | 41 }; |
rlm@1 | 42 |
rlm@1 | 43 //{{AFX_INSERT_LOCATION}} |
rlm@1 | 44 // Microsoft Visual C++ will insert additional declarations immediately before the previous line. |
rlm@1 | 45 |
rlm@1 | 46 #endif // !defined(AFX_THROTTLE_H__5F03B6E9_0C43_4933_A7BC_1618428C2B7F__INCLUDED_) |