1 // Copyright (C) 2008-2011 David Sugar, Tycho Softworks.
2 //
3 // This file is part of GNU Bayonne.
4 //
5 // GNU Bayonne is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation; either version 3 of the License, or
8 // (at your option) any later version.
9 //
10 // GNU Bayonne is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
13 // GNU General Public License for more details.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with GNU Bayonne. If not, see <http://www.gnu.org/licenses/>.
17
18 #include <config.h>
19 #include <ucommon/ucommon.h>
20 #include <ucommon/export.h>
22
24 using namespace UCOMMON_NAMESPACE;
25
26 Serial::Serial()
27 {
28 errno = 0;
29 }
30
31 Serial::~Serial()
32 {
33 }
34
35 #if !defined(_MSWINDOWS_) && !defined(HAVE_TERMIOS_H)
36
37 Serial *Serial::create(const char *name)
38 {
39 return NULL;
40 }
41
42 stringpager *Serial::list(void)
43 {
44 return new stringpager();
45 }
46
47 #endif
#define BAYONNE_NAMESPACE
GNU Bayonne library namespace.