Header
Product Comparison: USB I2C | USB SPI | USB GPIO
  • My Account
  • Shopping Cart
  • Products
  • My Account
  • About
  • Products
  • PC-I2C/SPI/GPIO Adapters
  • Main Page
  • Classes
  • Files
  • File List
  • File Members

D:/_sources/u2c_12/ControlPanel/SpiBar.h

Go to the documentation of this file.
00001 // Copyright (C)2006 Diolan ( http://www.diolan.com )
00002 //
00003 // This program is free software; you can redistribute it and/or
00004 // modify it under the terms of the GNU General Public License
00005 // as published by the Free Software Foundation
00006 //
00007 // This program is distributed in the hope that it will be useful,
00008 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00009 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00010 // GNU General Public License for more details.
00011 
00012 
00013 #if !defined(AFX_SPIBAR_H__93E5D3F9_BFD2_406C_ACB5_285187DB0872__INCLUDED_)
00014 #define AFX_SPIBAR_H__93E5D3F9_BFD2_406C_ACB5_285187DB0872__INCLUDED_
00015 
00016 #if _MSC_VER > 1000
00017 #pragma once
00018 #endif // _MSC_VER > 1000
00019 // I2cWriteBar.h : header file
00020 //
00021 #include "../common/I2CBridge.h"
00023 // CSpiBar dialog
00024 
00025 class CSpiBar : public CDialogBar
00026 {
00027 // Construction
00028 public:
00029         CSpiBar();   // standard constructor
00030         BOOL Create(CWnd *pParentWnd);
00031         void EnableControls(bool bEnable);
00032         bool GetLength(unsigned short* pLength);
00033         bool GetOutData(BYTE* pBuffer, unsigned short Length);
00034 
00035 // Dialog Data
00036         //{{AFX_DATA(CSpiBar)
00037         enum { IDD = IDD_SPI_BAR };
00038         int             m_Length;
00039         CString m_strData;
00040         //}}AFX_DATA
00041 
00042 
00043 // Overrides
00044         // ClassWizard generated virtual function overrides
00045         //{{AFX_VIRTUAL(CSpiBar)
00046         protected:
00047         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
00048         //}}AFX_VIRTUAL
00049 
00050 
00051 // Implementation
00052 protected:
00053 
00054         // Generated message map functions
00055         //{{AFX_MSG(CSpiBar)
00056         //}}AFX_MSG
00057         afx_msg void OnUpdateButton (CCmdUI* pCmdUI);
00058         DECLARE_MESSAGE_MAP()
00059 private:
00060         bool m_bEnableControls;
00061 public:
00062 };
00063 
00064 //{{AFX_INSERT_LOCATION}}
00065 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00066 
00067 #endif // !defined(AFX_SPIBAR_H__93E5D3F9_BFD2_406C_ACB5_285187DB0872__INCLUDED_)
  • Products
  • PC-I2C/SPI/GPIO Adapters
  • Comparison
  • PC-I2C/SPI/GPIO Adapter DLN-1
  • USB-I2C/SPI/GPIO Adapter DLN-2
  • Multiprotocol Master DLN-4M
  • Multiprotocol Slave DLN-4S
  • Downloads
  • Software
  • Documentation
  • SW Tools & Examples
  • Development Boards
  • Open Source Projects
  • Discontinued Products
  • API Documentation
  • Downloads
  • SW Tools and Examples
footer top footer bottom
© Copyright Diolan 2006-2012