summaryrefslogtreecommitdiff
path: root/libgpsmm.h
diff options
context:
space:
mode:
authorChris Browet <cbro@semperpax.com>2010-03-31 04:35:58 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-03-31 04:35:58 -0400
commitd8462cfb9ef84e1b0fbd7c794993318d56bd6dfc (patch)
tree4ef0f2990e1d5e63d89c8361a57e7231252153df /libgpsmm.h
parent3202783122582a67b82ff40507550a17dffebb74 (diff)
downloadgpsd-d8462cfb9ef84e1b0fbd7c794993318d56bd6dfc.tar.gz
Internals of Qt support.
All regression tests pass. Note from esr: this feature cannot be announced yert, as it requires documentation in the INSTALL file. 1. What the target environments are (Linux? Windows? Both) 2. All build prerequisites (C++ compiler? Qt library? Other libraries?) 3. What the new files libQgpsmm_global.h and libQgpsmm.pro are for, and how the are used. We also need to know how to regression-test this code under Linux so we can verify that it's not broken as the client library evolves. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Diffstat (limited to 'libgpsmm.h')
-rw-r--r--libgpsmm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libgpsmm.h b/libgpsmm.h
index f10b04e9..711e75c8 100644
--- a/libgpsmm.h
+++ b/libgpsmm.h
@@ -11,7 +11,12 @@
#include <sys/types.h>
#include "gps.h" //the C library we are going to wrap
+#ifndef USE_QT
class gpsmm {
+#else
+#include "libQgpsmm_global.h"
+class LIBQGPSMMSHARED_EXPORT gpsmm {
+#endif
public:
gpsmm();
virtual ~gpsmm();