//-------------------------------------------------------------------------- // // Microsoft Visual C++ generated include file. // // Include file for WirelessUSBStatusPropertyPage.cpp // //-------------------------------------------------------------------------- // $Archive: /WirelessUSB/WUSB Kits/CY4632 LS KBM RDK/DocSrc/CD_Root/Software/Source Code/WirelessUSBSysTray/WirelessUSBStatusPropertyPage.h $ // $Modtime: 7/15/04 4:43p10/18/04 2:54p $ // $Revision: 46 $ //-------------------------------------------------------------------------- // // Copyright 2003-2004, Cypress Semiconductor Corporation. // // This software is owned by Cypress Semiconductor Corporation (Cypress) // and is protected by and subject to worldwide patent protection (United // States and foreign), United States copyright laws and international // treaty provisions. Cypress hereby grants to licensee a personal, // non-exclusive, non-transferable license to copy, use, modify, create // derivative works of, and compile the Cypress Source Code and derivative // works for the sole purpose of creating custom software in support of // licensee product to be used only in conjunction with a Cypress integrated // circuit as specified in the applicable agreement. Any reproduction, // modification, translation, compilation, or representation of this // software except as specified above is prohibited without the express // written permission of Cypress. // // Disclaimer: CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, // WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. // Cypress reserves the right to make changes without further notice to the // materials described herein. Cypress does not assume any liability arising // out of the application or use of any product or circuit described herein. // Cypress does not authorize its products for use as critical components in // life-support systems where a malfunction or failure may reasonably be // expected to result in significant injury to the user. The inclusion of // Cypress’ product in a life-support systems application implies that the // manufacturer assumes all risk of such use and in doing so indemnifies // Cypress against all charges. // // Use may be limited by and subject to the applicable Cypress software // license agreement. // //-------------------------------------------------------------------------- #pragma once #include "afxcmn.h" #include "afxwin.h" #include "barindicator.h" // CWirelessUSBStatusPropertyPage dialog class CWirelessUSBStatusPropertyPage : public CPropertyPage { DECLARE_DYNAMIC(CWirelessUSBStatusPropertyPage) public: CWirelessUSBStatusPropertyPage(); virtual ~CWirelessUSBStatusPropertyPage(); void OnStartTimer(); void OnStopTimer(); // Dialog Data enum { IDD = IDD_PROPPAGE_WIRELESSUSB_STATUS }; public: UINT_PTR m_nTimer; CObject* m_pHidDevice; bool m_bConnectedbDeviceConnected; bool m_bBridgeActivity; protected: OSVERSIONINFO m_osvi; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support DECLARE_MESSAGE_MAP() public: virtual BOOL OnInitDialog(); afx_msg void OnDestroy(); afx_msg void OnTimer(UINT nIDEvent); afx_msg void OnBnClickedWirelessUSBDisableWarningMessageOnBnClickedWirelessUSBEnableWarningMessage(); CString CommaStr(ULONGLONG number); CBarIndicator m_BatteryLevel; CBarIndicator m_SignalStrengthQuality; CButton m_DisableWarningMessagesEnableWarningMessages; CStatic m_WirelessChannel; CStatic m_StatusHdr; CStatic m_WirelessSubChannel; CStatic m_cDeviceStatus; CStatic m_cDeviceDuration; CStatic m_cRecievedPackets; CStatic m_cHeaderExcellent; CStatic m_cHeaderPoor; CStatic m_cHeaderLow; CStatic m_cHeaderFull; CStatic m_cActivityStatus; };