00001 /* -*- mode:C++; fill-column:100 -*- 00002 SFBHWSerial.h Platform-independent access to the 00003 platform-dependent low-level serial support 00004 Copyright (C) 2009 The Regents of the University of New Mexico. All rights reserved. 00005 00006 This library is free software; you can redistribute it and/or 00007 modify it under the terms of the GNU Lesser General Public 00008 License as published by the Free Software Foundation; either 00009 version 2.1 of the License, or (at your option) any later version. 00010 00011 This library is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 Lesser General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with this library; if not, write to the Free Software 00018 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 00019 USA 00020 00021 $Id$ 00022 */ 00023 00031 #ifndef SFBHWSERIAL_H 00032 #define SFBHWSERIAL_H 00033 00034 #ifdef HOST_MODE 00035 00036 /*#include "SFBHWSerialHost.h"*/ 00037 #include "SFBHWSerialPortable.h" 00038 00039 #else /* !HOST_MODE */ 00040 00041 #include "SFBHWSerialBoard.h" 00042 00043 #endif /* HOST_MODE */ 00044 00045 #endif /* SFBHWSERIAL_H */ 00046