home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2005 March / PCpro_2005_03.ISO / files / systools / speedswitchxp / sswitchxp14.exe / Typical / GeneralOptions.h < prev    next >
Encoding:
C/C++ Source or Header  |  2005-01-14  |  1.8 KB  |  68 lines

  1. /*
  2.    SpeedswitchXP V1.4
  3.    - Windows XP CPU Frequency Control for Notebooks -
  4.  
  5.    Copyright(c) 2002-2004 Christian Diefer
  6.  
  7.    This program is free software; you can redistribute it and/or modify
  8.    it under the terms of the GNU General Public License version 2 as 
  9.    published by the Free Software Foundation.
  10.    
  11.    This program is distributed in the hope that it will be useful,
  12.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.    GNU General Public License for more details.
  15.    
  16.    You should have received a copy of the GNU General Public License
  17.    along with this program; if not, write to the Free Software
  18.    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19. */
  20.  
  21. #pragma once
  22.  
  23.  
  24. // CGeneralOptions dialog
  25.  
  26. class CGeneralOptions : public CDialog
  27. {
  28.     DECLARE_DYNAMIC(CGeneralOptions)
  29. public:
  30.     CGeneralOptions(CWnd* pParent = NULL);   // standard constructor
  31.     virtual ~CGeneralOptions();
  32.   BOOL m_bAutostart;
  33.   BOOL m_bDebugmode;
  34.   BOOL m_bMinimizeOnClose;
  35.   BOOL m_bCheckStatus;
  36.   int m_iCheckInterval;
  37.   BOOL m_bReactivate;
  38.   BOOL m_bReadCPUSpeed;
  39.   int m_iSpeedMethod;
  40.   BOOL m_bReadCPULoad;
  41.   BOOL m_bShowDiagram;
  42.   int m_iCPUInterval;
  43.   int m_iSpeedScaling;
  44.   int m_iBattMethod;
  45.   BOOL m_bShowBattery;
  46.   int m_iBatteryIndicator;
  47.   BOOL m_bChargeIndicator;
  48.   BOOL m_bSpeedIcon;
  49.   BOOL m_bLoadIcon;
  50.  
  51. // Overrides
  52.  
  53. // Dialog Data
  54.   enum { IDD = IDD_GENERALOPT };
  55.  
  56. protected:
  57.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  58.     virtual BOOL OnInitDialog();
  59.   afx_msg void OnBnClickedCheck2();
  60.   afx_msg void OnBnClickedCheck4();
  61.   afx_msg void OnBnClickedCheck6();
  62.   afx_msg void OnBnClickedCheck8();
  63.   afx_msg void OnBnClickedCheck7();
  64.   afx_msg void OnBnClickedShowbatt();
  65.  
  66.     DECLARE_MESSAGE_MAP()
  67. };
  68.