summaryrefslogtreecommitdiff
path: root/navit/event.h
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-10-24 15:21:52 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-10-24 15:21:52 +0000
commit58c30ef37629796ce8d44f8ed424f9f2026ff72a (patch)
tree964e10f004c215fbcea73009ab4b1b958bcbc8b3 /navit/event.h
parentfcd0a153b13a0bce92182f1688168d889b219549 (diff)
downloadnavit-58c30ef37629796ce8d44f8ed424f9f2026ff72a.tar.gz
Add:graphics_qt_qpainter:Added qt event system for older qt versions
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1551 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/event.h')
-rw-r--r--navit/event.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/navit/event.h b/navit/event.h
index 897fdff33..df0647d10 100644
--- a/navit/event.h
+++ b/navit/event.h
@@ -17,6 +17,10 @@
* Boston, MA 02110-1301, USA.
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct event_idle;
struct event_timeout;
struct event_watch;
@@ -44,3 +48,6 @@ struct event_idle *event_add_idle(struct callback *cb);
void event_remove_idle(struct event_idle *ev);
int event_request_system(char *system, char *requestor);
/* end of prototypes */
+#ifdef __cplusplus
+}
+#endif