24#ifndef _NETSURF_RISCOS_MESSAGE_H_
25#define _NETSURF_RISCOS_MESSAGE_H_
28#include "oslib/wimp.h"
31 wimp_t task,
void (*callback)(wimp_message *message));
33 wimp_w to_w, wimp_i to_i,
void (*callback)(wimp_message *message),
36 unsigned int message_code,
37 void (*callback)(wimp_message *message));
39 void (*callback)(wimp_message *message));
bool ro_message_handle_message(wimp_event_no event, wimp_message *message)
Attempts to route a message.
bool ro_message_register_handler(wimp_message *message, unsigned int message_code, void(*callback)(wimp_message *message))
Registers a return route for a message.
bool ro_message_send_message(wimp_event_no event, wimp_message *message, wimp_t task, void(*callback)(wimp_message *message))
Sends a message and registers a return route for a bounce.
bool ro_message_register_route(unsigned int message_code, void(*callback)(wimp_message *message))
Registers a route for a message code.
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)
Sends a message and registers a return route for a bounce.