summaryrefslogtreecommitdiff
path: root/libgpsmm.xml
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-04-05 09:27:47 -0400
committerEric S. Raymond <esr@thyrsus.com>2012-04-05 09:27:47 -0400
commitafbd274eb3a7b823f878c59ac4df635028492159 (patch)
treef1cabebf10248c43eaef04eff51ef4d5eeae8904 /libgpsmm.xml
parent0fc0199f9f1c7711df90c07b694a441e8649e6ab (diff)
downloadgpsd-afbd274eb3a7b823f878c59ac4df635028492159.tar.gz
Being the description of the C++ binding up to date.
Diffstat (limited to 'libgpsmm.xml')
-rw-r--r--libgpsmm.xml14
1 files changed, 5 insertions, 9 deletions
diff --git a/libgpsmm.xml b/libgpsmm.xml
index 3fda01cf..01dafbc7 100644
--- a/libgpsmm.xml
+++ b/libgpsmm.xml
@@ -37,20 +37,16 @@ C++:
<paramdef>void</paramdef>
</funcprototype>
<funcprototype>
-<funcdef>struct gps_data_t *<function>query</function></funcdef>
+<funcdef>struct gps_data_t *<function>send</function></funcdef>
<paramdef>char *<parameter>request</parameter></paramdef>
</funcprototype>
<funcprototype>
-<funcdef>struct gps_data_t *<function>poll</function></funcdef>
+<funcdef>struct gps_data_t *<function>read</function></funcdef>
<paramdef>void</paramdef>
</funcprototype>
<funcprototype>
-<funcdef>int <function>set_callback</function></funcdef>
- <paramdef>void (*<parameter>hook</parameter>)(struct gps_data_t *sentence, char *buf)</paramdef>
-</funcprototype>
-<funcprototype>
-<funcdef>int <function>del_callback</function></funcdef>
- <paramdef>void</paramdef>
+<funcdef>struct gps_data_t *<function>waiting</function></funcdef>
+ <paramdef>int</paramdef>
</funcprototype>
<funcprototype>
<funcdef>struct gps_data_t *<function>stream</function></funcdef>
@@ -62,7 +58,7 @@ C++:
<refsect1 id='description'><title>DESCRIPTION</title>
<para><emphasis remap='B'>libgpsmm and libQgpsmm</emphasis> are mere wrappers over
- <emphasis remap='B'>libgps</emphasis>. The important difference between the libraries is that libgpsmm is targeted at C++ applications and contained in <emphasis remap='B'>libgps</emphasis>, while libQgpsmm is platform independent by using QTcpSocket to connect to <emphasis remap='B'>gpsd</emphasis> and shipped as an additional library due to the necessary linking to QT.
+<emphasis remap='B'>libgps</emphasis>. The important difference between the libraries is that libgpsmm is targeted at C++ applications and contained in <emphasis remap='B'>libgps</emphasis>, while libQgpsmm is platform independent by using QTcpSocket to connect to <emphasis remap='B'>gpsd</emphasis> and shipped as an additional library due to the necessary linking to QT.
Method names are the same as
the analogue C functions. For a detailed description of the functions
please read