1 //
2 // Copyright(C) 2017 Alex Mayfield
3 //
4 // This program is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License
6 // as published by the Free Software Foundation; either version 2
7 // of the License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 // GNU General Public License for more details.
13 //
14 // DESCRIPTION:
15 //     Headers for all types of midipipe messages.
16 //
17 
18 #ifndef __PROTO__
19 #define __PROTO__
20 
21 typedef enum {
22     MIDIPIPE_PACKET_TYPE_REGISTER_SONG,
23     MIDIPIPE_PACKET_TYPE_REGISTER_SONG_ACK,
24     MIDIPIPE_PACKET_TYPE_SET_VOLUME,
25     MIDIPIPE_PACKET_TYPE_PLAY_SONG,
26     MIDIPIPE_PACKET_TYPE_STOP_SONG,
27     MIDIPIPE_PACKET_TYPE_SHUTDOWN
28 } net_midipipe_packet_type_t;
29 
30 #endif
31 
32