summaryrefslogtreecommitdiff
path: root/riscos/message.h
diff options
context:
space:
mode:
authorJohn Tytgat <joty@netsurf-browser.org>2008-07-26 22:29:15 +0000
committerJohn Tytgat <joty@netsurf-browser.org>2008-07-26 22:29:15 +0000
commit5f6c2cbff7cd778b6487943d62e71ff9e7b04893 (patch)
tree2755ac7fd68397c47142e4ba030b8212e16862b2 /riscos/message.h
parentaae686d90a3741293c6b3f2d15c7e2976b72adb9 (diff)
downloadnetsurf-5f6c2cbff7cd778b6487943d62e71ff9e7b04893.tar.gz
netsurf-5f6c2cbff7cd778b6487943d62e71ff9e7b04893.tar.bz2
- Compiler warning squash
- Changed a lineending \n\r -> \n for a couple of files. - More code style conformance. svn path=/trunk/netsurf/; revision=4762
Diffstat (limited to 'riscos/message.h')
-rw-r--r--riscos/message.h83
1 files changed, 42 insertions, 41 deletions
diff --git a/riscos/message.h b/riscos/message.h
index 0411db533..8c1a515f2 100644
--- a/riscos/message.h
+++ b/riscos/message.h
@@ -1,41 +1,42 @@
-/*
- * Copyright 2006 Richard Wilson <info@tinct.net>
- *
- * This file is part of NetSurf, http://www.netsurf-browser.org/
- *
- * NetSurf is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
- *
- * NetSurf is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-/** \file
- * Automated RISC OS message routing (interface).
- */
-
-
-#ifndef _NETSURF_RISCOS_MESSAGE_H_
-#define _NETSURF_RISCOS_MESSAGE_H_
-
-#include "oslib/wimp.h"
-
-bool ro_message_send_message(wimp_event_no event, wimp_message *message,
- wimp_t task, void (*callback)(wimp_message *message));
-bool ro_message_send_message_to_window(wimp_event_no event, wimp_message *message,
- wimp_w to_w, wimp_i to_i, void (*callback)(wimp_message *message),
- wimp_t *to_t);
-bool ro_message_register_handler(wimp_message *message,
- unsigned int message_code,
- void (*callback)(wimp_message *message));
-bool ro_message_register_route(unsigned int message_code,
- void (*callback)(wimp_message *message));
-bool ro_message_handle_message(wimp_event_no event, wimp_message *message);
-
-#endif
+/*
+ * Copyright 2006 Richard Wilson <info@tinct.net>
+ *
+ * This file is part of NetSurf, http://www.netsurf-browser.org/
+ *
+ * NetSurf is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * NetSurf is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+/** \file
+ * Automated RISC OS message routing (interface).
+ */
+
+
+#ifndef _NETSURF_RISCOS_MESSAGE_H_
+#define _NETSURF_RISCOS_MESSAGE_H_
+
+#include <stdbool.h>
+#include "oslib/wimp.h"
+
+bool ro_message_send_message(wimp_event_no event, wimp_message *message,
+ wimp_t task, void (*callback)(wimp_message *message));
+bool ro_message_send_message_to_window(wimp_event_no event, wimp_message *message,
+ wimp_w to_w, wimp_i to_i, void (*callback)(wimp_message *message),
+ wimp_t *to_t);
+bool ro_message_register_handler(wimp_message *message,
+ unsigned int message_code,
+ void (*callback)(wimp_message *message));
+bool ro_message_register_route(unsigned int message_code,
+ void (*callback)(wimp_message *message));
+bool ro_message_handle_message(wimp_event_no event, wimp_message *message);
+
+#endif