OpenCPN Partial API docs
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
Functions
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
~
Functions
a
b
c
d
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
~
Variables
Files
File List
•
All
Classes
Namespaces
Functions
Variables
Pages
Loading...
Searching...
No Matches
macutils.h
1
/***************************************************************************
2
* Copyright (C) 2007..2010 by David S. Register, Richard M Smith *
3
* *
4
* This program is free software; you can redistribute it and/or modify *
5
* it under the terms of the GNU General Public License as published by *
6
* the Free Software Foundation; either version 2 of the License, or *
7
* (at your option) any later version. *
8
* *
9
* This program is distributed in the hope that it will be useful, *
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12
* GNU General Public License for more details. *
13
* *
14
* You should have received a copy of the GNU General Public License *
15
* along with this program; if not, write to the *
16
* Free Software Foundation, Inc., *
17
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
18
***************************************************************************
19
*
20
*/
21
22
#ifndef MACUTILS_H_INCLUDED_H__
23
#define MACUTILS_H_INCLUDED_H__
24
25
#include "config.h"
26
27
#ifdef __WXOSX__
28
29
#define MAX_SERIAL_PORTS 10
30
31
extern
"C"
int
FindSerialPortNames(
char
** pNames,
int
iMaxNames);
32
extern
"C"
bool
ValidateSerialPortName(
const
char
* pPortName,
33
int
iMaxNamesToSearch);
34
extern
"C"
int
GetMacMonitorSize();
35
36
#endif
// __WXOSX__
37
38
#endif
// MACUTILS_H_INCLUDED_H__
include
macutils.h
Generated by
1.9.5