2 Copyright 2006 Johnathan Corgan.
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License version 2
6 as published by the Free Software Foundation.
8 This software is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
13 You should have received a copy of the GNU General Public License
14 along with GNU Radio; see the file COPYING. If not, write to
15 the Free Software Foundation, Inc., 51 Franklin Street,
16 Boston, MA 02110-1301, USA.
22 #include <wx/arrstr.h>
30 wxArrayString EnumerateSerialPorts();
35 SerialPort(wxString &port);
39 bool IsOpened() { return m_opened; }
42 int Read(char *buffer, int len);
49 struct termios m_ttyset_old;
50 struct termios m_ttyset_new;
56 #endif // __SERIAL_H__