0ebccf08 |
1 | /* -*-c-*- |
2 | * |
e9060e7e |
3 | * $Id: jog.h,v 1.2 2002/02/02 19:16:57 mdw Exp $ |
0ebccf08 |
4 | * |
5 | * Global header file |
6 | * |
7 | * (c) 2002 Mark Wooding |
8 | */ |
9 | |
10 | /*----- Licensing notice --------------------------------------------------* |
11 | * |
12 | * This file is part of Jog: Programming for a jogging machine. |
13 | * |
14 | * Jog is free software; you can redistribute it and/or modify |
15 | * it under the terms of the GNU General Public License as published by |
16 | * the Free Software Foundation; either version 2 of the License, or |
17 | * (at your option) any later version. |
18 | * |
19 | * Jog is distributed in the hope that it will be useful, |
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
22 | * GNU General Public License for more details. |
23 | * |
24 | * You should have received a copy of the GNU General Public License |
25 | * along with Jog; if not, write to the Free Software Foundation, |
26 | * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
27 | */ |
28 | |
29 | /*----- Revision history --------------------------------------------------* |
30 | * |
31 | * $Log: jog.h,v $ |
e9060e7e |
32 | * Revision 1.2 2002/02/02 19:16:57 mdw |
33 | * New audio subsystem. |
34 | * |
0ebccf08 |
35 | * Revision 1.1 2002/01/30 09:27:38 mdw |
36 | * New global header file, declares trace codes. |
37 | * |
38 | */ |
39 | |
40 | #ifndef JOG_H |
41 | #define JOG_H |
42 | |
43 | #ifdef __cplusplus |
44 | extern "C" { |
45 | #endif |
46 | |
47 | /*----- Header files ------------------------------------------------------*/ |
48 | |
49 | #include <mLib/trace.h> |
50 | |
51 | /*----- Magic constants ---------------------------------------------------*/ |
52 | |
53 | /* --- Tracing settings --- */ |
54 | |
e9060e7e |
55 | #define T_TX 1u /* Transport */ |
0ebccf08 |
56 | #define T_TXSYS 2u /* Low-level transport */ |
e9060e7e |
57 | #define T_AU 4u /* Audio */ |
58 | #define T_AUSYS 8u /* System-specific audio */ |
59 | #define T_ALL (T_TX | T_TXSYS | T_AU | T_AUSYS) |
0ebccf08 |
60 | |
61 | /*----- That's all, folks -------------------------------------------------*/ |
62 | |
63 | #ifdef __cplusplus |
64 | } |
65 | #endif |
66 | |
67 | #endif |