home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Extras / MIDI / camd-37.1 / development / examples / capture / capture.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-15  |  837 b   |  32 lines

  1.  
  2. /* User header file */
  3.  
  4. #include "std_headers.h"
  5.  
  6. /* NewGadget/NewMenu UserData structure */
  7.  
  8. struct TMObjectData
  9.   {
  10.   BOOL (* EventFunc)();    /* Function to call */
  11.   };
  12.  
  13. typedef struct TMObjectData TMOBJECTDATA;
  14.  
  15. #include "capture_tm.h"    /* Toolmaker header file */
  16. #include "capture_text.h"    /* User text header file */
  17.  
  18. /* Function prototypes */
  19.  
  20. VOID  wbmain(VOID *);    /* for DICE compatibility */
  21. VOID  main(int, char **);
  22. VOID  cleanexit(struct TMData *, int);
  23. UBYTE *getfilename(struct TMData *, UBYTE *, UBYTE *, ULONG, struct Window *, BOOL);
  24.  
  25. void HandleMidi( struct TMData *TMData );
  26. void ClearBuffer( void );
  27. void SendMIDI( struct TMData *TMData );
  28. void SaveMIDI( struct TMData *TMData, char *filename );
  29. void LoadMIDI( struct TMData *TMData, char *filename );
  30. ULONG GetMidiLinkAttrs(struct MidiLink *mi, Tag tag, ...);
  31.       
  32.