| 1 |
/* Header for module mtxline, generated by p2c 1.21alpha-07.Dec.93 */ |
| 2 |
#ifndef MTXLINE_H |
| 3 |
#define MTXLINE_H |
| 4 |
|
| 5 |
|
| 6 |
/* Break input up into words, classify them. Supply words and |
| 7 |
information about them. */ |
| 8 |
|
| 9 |
#ifndef GLOBALS_H |
| 10 |
#include "globals.h" |
| 11 |
#endif |
| 12 |
|
| 13 |
|
| 14 |
#ifdef MTXLINE_G |
| 15 |
# define vextern |
| 16 |
#else |
| 17 |
# define vextern extern |
| 18 |
#endif |
| 19 |
|
| 20 |
|
| 21 |
typedef enum { |
| 22 |
other, abcdefg, zword, lyrtag, lparen, rparen, rlparen, lbrac, rbrac, |
| 23 |
pmxprefix, pmxl, macro, endmacro, mword, oword, rword, nextvoice, barword, |
| 24 |
texword, atword, FirstOnly, err |
| 25 |
} music_word; |
| 26 |
|
| 27 |
|
| 28 |
extern boolean bind_left[22]; |
| 29 |
|
| 30 |
/* changed bind_left[barword] to false */ |
| 31 |
|
| 32 |
vextern boolean selected[maxvoices]; |
| 33 |
|
| 34 |
|
| 35 |
extern void error3(voice_index voice, Char *message); |
| 36 |
extern void warning3(voice_index voice, Char *message); |
| 37 |
extern void getNextMusWord(Char *buf, Char *note, music_word *nscan); |
| 38 |
extern Char *MusicWord(Char *Result, short voice, short n); |
| 39 |
extern Char *nextMusicWord(Char *Result, voice_index voice); |
| 40 |
extern music_word thisNote(voice_index voice); |
| 41 |
extern music_word nextNote(voice_index voice); |
| 42 |
extern Char *getMusicWord(Char *Result, voice_index voice); |
| 43 |
extern void gotoBar(voice_index voice, short bar_no); |
| 44 |
extern boolean endOfBar(voice_index voice, short bar_no); |
| 45 |
extern Char *getBar(Char *Result, voice_index voice, short bar); |
| 46 |
extern boolean upper(voice_index voice); |
| 47 |
extern void clearLabels(void); |
| 48 |
extern voice_index0 findVoice(Char *w); |
| 49 |
extern void selectVoices(Char *line); |
| 50 |
extern void resetInfo(voice_index voice, Char *buf); |
| 51 |
extern void setVocal(voice_index voice, boolean voc); |
| 52 |
extern boolean isVocal(voice_index voice); |
| 53 |
extern void setStavePos(voice_index voice, stave_index stave, stave_index pos); |
| 54 |
extern stave_index voiceStave(voice_index voice); |
| 55 |
extern stave_index voicePos(voice_index voice); |
| 56 |
extern boolean aloneOnStave(stave_index stave); |
| 57 |
extern voice_index companion(voice_index voice); |
| 58 |
extern void appendNote(voice_index voice, music_word nscan); |
| 59 |
extern void appendToLine(voice_index voice, Char *note); |
| 60 |
extern void markBar(voice_index voice); |
| 61 |
extern short numberOfBars(voice_index voice); |
| 62 |
extern void barForward(voice_index voice, short nbars); |
| 63 |
extern void regroup(voice_index voice); |
| 64 |
|
| 65 |
extern short beatsPerLine(void); |
| 66 |
extern void setExtraLength(voice_index voice, short ext); |
| 67 |
extern short ExtraLength(voice_index voice); |
| 68 |
extern paragraph_index0 musicLineNo(voice_index voice); |
| 69 |
extern void setMusicLineNo(voice_index voice, paragraph_index lno); |
| 70 |
extern paragraph_index0 chordLineNo(voice_index voice); |
| 71 |
extern void setChordLineNo(voice_index voice, paragraph_index lno); |
| 72 |
extern void skipChordBar(voice_index voice); |
| 73 |
|
| 74 |
extern void describeVoice(voice_index voice, Char *describe_lyr); |
| 75 |
extern boolean maybeMusicLine(Char *l); |
| 76 |
extern Char *musicLine(Char *Result, voice_index voice); |
| 77 |
|
| 78 |
|
| 79 |
#undef vextern |
| 80 |
|
| 81 |
#endif /*MTXLINE_H*/ |
| 82 |
|
| 83 |
/* End. */ |