Debian Codegraph @

interfaces/qextserialport/qextserialenumerator_unix.cpp

raw symbols SCIP
1 /****************************************************************************
2 ** Copyright (c) 2000-2003 Wayne Roth
3 ** Copyright (c) 2004-2007 Stefan Sander
4 ** Copyright (c) 2007 Michal Policht
5 ** Copyright (c) 2008 Brandon Fosdick
6 ** Copyright (c) 2009-2010 Liam Staskawicz
7 ** Copyright (c) 2011 Debao Zhang
8 ** All right reserved.
9 ** Web: http://code.google.com/p/qextserialport/
10 **
11 ** Permission is hereby granted, free of charge, to any person obtaining
12 ** a copy of this software and associated documentation files (the
13 ** "Software"), to deal in the Software without restriction, including
14 ** without limitation the rights to use, copy, modify, merge, publish,
15 ** distribute, sublicense, and/or sell copies of the Software, and to
16 ** permit persons to whom the Software is furnished to do so, subject to
17 ** the following conditions:
18 **
19 ** The above copyright notice and this permission notice shall be
20 ** included in all copies or substantial portions of the Software.
21 **
22 ** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25 ** NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
26 ** LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
27 ** OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 ** WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 **
30 ****************************************************************************/
31
32 #include "qextserialenumerator.h"
33 #include "qextserialenumerator_p.h"
34 #include <QtCore/QDebug>
35
36 void QextSerialEnumeratorPrivate::platformSpecificInit()
37 {
38 }
39
40 void QextSerialEnumeratorPrivate::platformSpecificDestruct()
41 {
42 }
43
44 QList<QextPortInfo> QextSerialEnumeratorPrivate::getPorts_sys()
45 {
46 QList<QextPortInfo> infoList;
47 QESP_WARNING("Enumeration for POSIX systems (except Linux) is not implemented yet.");
48 return infoList;
49 }
50
51 bool QextSerialEnumeratorPrivate::setUpNotifications_sys(bool setup)
52 {
53 Q_UNUSED(setup)
54 QESP_WARNING("Notifications for *Nix/FreeBSD are not implemented yet");
55 return false;
56 }