home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2005 March / PCpro_2005_03.ISO / files / systools / speedswitchxp / sswitchxp14.exe / Typical / PowerCapabilities.h < prev    next >
Encoding:
C/C++ Source or Header  |  2005-01-14  |  1.7 KB  |  64 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. // CPowerCapabilities dialog
  25.  
  26. class CPowerCapabilities : public CDialog
  27. {
  28.     DECLARE_DYNAMIC(CPowerCapabilities)
  29.  
  30. public:
  31.     CPowerCapabilities(CWnd* pParent = NULL);   // standard constructor
  32.     virtual ~CPowerCapabilities();
  33.   virtual BOOL OnInitDialog();
  34.   void setVars();
  35.  
  36. // Dialog Data
  37.     enum { IDD = IDD_POWERCAPS };
  38.  
  39. protected:
  40.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  41.  
  42. private:
  43.   SYSTEM_POWER_CAPABILITIES spc;
  44.  
  45.     DECLARE_MESSAGE_MAP()
  46. public:
  47.   CString m_szPowerButton;
  48.   CString m_szSleepButton;
  49.   CString m_szLidSwitch;
  50.   CString m_szSStates;
  51.   CString m_szHiberFile;
  52.   CString m_szWakeSupport;
  53.   CString m_szVideoDim;
  54.   CString m_szAPMBios;
  55.   CString m_szThermalZones;
  56.   CString m_szThrottle;
  57.   CString m_szUPSPresent;
  58.   CString m_szThrottleMax;
  59.   CString m_szThrottleMin;
  60.   CString m_szSpinDown;
  61.   CString m_szSystemBatteries;
  62.   CString m_szShortTermBatteries;
  63. };
  64.