giuliomoro@338: /* giuliomoro@338: * Copyright (c) 2012 Peter Brinkmann (peter.brinkmann@gmail.com) giuliomoro@338: * giuliomoro@338: * For information on usage and redistribution, and for a DISCLAIMER OF ALL giuliomoro@338: * WARRANTIES, see the file, "LICENSE.txt," in this distribution. giuliomoro@338: * giuliomoro@338: * See https://github.com/libpd/libpd/wiki for documentation giuliomoro@338: * giuliomoro@338: */ giuliomoro@338: giuliomoro@338: #ifndef __Z_QUEUED_H__ giuliomoro@338: #define __Z_QUEUED_H__ giuliomoro@338: giuliomoro@338: #include "z_libpd.h" giuliomoro@338: giuliomoro@338: #ifdef __cplusplus giuliomoro@338: extern "C" giuliomoro@338: { giuliomoro@338: #endif giuliomoro@338: giuliomoro@338: EXTERN void libpd_set_queued_printhook(const t_libpd_printhook hook); giuliomoro@338: EXTERN void libpd_set_queued_banghook(const t_libpd_banghook hook); giuliomoro@338: EXTERN void libpd_set_queued_floathook(const t_libpd_floathook hook); giuliomoro@338: EXTERN void libpd_set_queued_symbolhook(const t_libpd_symbolhook hook); giuliomoro@338: EXTERN void libpd_set_queued_listhook(const t_libpd_listhook hook); giuliomoro@338: EXTERN void libpd_set_queued_messagehook(const t_libpd_messagehook hook); giuliomoro@338: giuliomoro@338: EXTERN void libpd_set_queued_noteonhook(const t_libpd_noteonhook hook); giuliomoro@338: EXTERN void libpd_set_queued_controlchangehook(const t_libpd_controlchangehook hook); giuliomoro@338: EXTERN void libpd_set_queued_programchangehook(const t_libpd_programchangehook hook); giuliomoro@338: EXTERN void libpd_set_queued_pitchbendhook(const t_libpd_pitchbendhook hook); giuliomoro@338: EXTERN void libpd_set_queued_aftertouchhook(const t_libpd_aftertouchhook hook); giuliomoro@338: EXTERN void libpd_set_queued_polyaftertouchhook(const t_libpd_polyaftertouchhook hook); giuliomoro@338: EXTERN void libpd_set_queued_midibytehook(const t_libpd_midibytehook hook); giuliomoro@338: giuliomoro@338: int libpd_queued_init(); giuliomoro@338: void libpd_queued_release(); giuliomoro@338: void libpd_queued_receive_pd_messages(); giuliomoro@338: void libpd_queued_receive_midi_messages(); giuliomoro@338: giuliomoro@338: #ifdef __cplusplus giuliomoro@338: } giuliomoro@338: #endif giuliomoro@338: giuliomoro@338: #endif