home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 13 / AACD13.ISO / AACD / Utilities / ACDPlay / src / V1.5 / ACDPlay_protos.h < prev    next >
C/C++ Source or Header  |  1997-12-02  |  4KB  |  109 lines

  1. /* ACDPlay_protos.h */
  2.  
  3. void CopyRange(struct Application *);
  4.  
  5. BOOL HandleEvents(struct Application *);
  6. BOOL HandleCommodityEvents(struct Application *);
  7. void HandleScreenNotify(struct Application *);
  8. void HandleAppIconEvents(struct Application *);
  9.  
  10. ULONG ExamineFileLength(char *);
  11. ULONG ExamineDiskSpace(char *);
  12. char *OpenFile(char *);
  13. BOOL SaveFile(char *, char *, LONG);
  14. struct List *GetDirContents(char *);
  15. BOOL GetFileName(struct Application *, WORD);
  16. void ReadConfig(struct Application *, char *);
  17. BOOL SaveConfig(struct Application *, char *);
  18. void ReadArguments(struct Application *);
  19.  
  20. ULONG DirectChoice(struct Application *, UWORD);
  21. ULONG LoadCD(struct Application *);
  22. ULONG UnLoadCD(struct Application *);
  23. ULONG EjectButton(struct Application *);
  24. ULONG JumpBackwardButton(struct Application *);
  25. ULONG JumpForwardButton(struct Application *);
  26. ULONG SearchBackwardButton(struct Application *, WORD);
  27. ULONG SearchForwardButton(struct Application *, WORD);
  28. ULONG StopButton(struct Application *);
  29. ULONG PauseButton(struct Application *);
  30. ULONG PlayButton(struct Application *);
  31. ULONG Trackslider(struct Application *, UWORD);
  32. BOOL SaveTitles(struct Application *);
  33.  
  34. void ProgramStart(struct Application *);
  35. BOOL ProgramDelete(struct Application *);
  36. BOOL ProgramAppendElement(struct Application *, UWORD);
  37. BOOL ProgramDeleteElement(struct Application *, ULONG);
  38. BOOL ProgramCopyAll(struct Application *);
  39. BOOL ProgramSave(struct Application *);
  40. BOOL ProgramLoad(struct Application *);
  41.  
  42. BOOL ProgramNext(struct Application *);
  43. void ProgramPrev(struct Application *);
  44. struct ProgramTitleNode *GetRandomProgram(struct Application *);
  45. UBYTE GetRandomTrack(struct Application *);
  46. void InitRandomTracks(struct List *);
  47. void CDPlayVerify(struct CDStruct *, UBYTE);
  48.  
  49. struct Application *CreateApplication(char *);
  50. void DeleteApplication(struct Application *);
  51. BOOL OpenApplication(struct Application *);
  52. void CloseApplication(struct Application *);
  53. BOOL MakeVisuals(struct Application *, WORD);
  54. BOOL MakeMenus(struct Application *);
  55. BOOL OpenAppWin(struct Application *, WORD);
  56. void CloseAppWin(struct Application *, WORD, BOOL);
  57. void StripIntuiMessages(struct Window *);
  58.  
  59. void UpdateGadgets(struct Application *);
  60. void UpdateTrackNumber(struct Application *);
  61. void UpdateCurrentTrack(struct Application *);
  62. void UpdateStatus(struct Application *);
  63. void UpdateTimePercent(struct Application *, int);
  64. void UpdateTimeGadget(struct Application *);
  65. void UpdateUnitLUN(struct Application *);
  66. void TestABRepeat(struct Application *);
  67.  
  68. void MakeInterior(struct Application *, WORD);
  69. void UpdateWinTitle(struct Application *);
  70. void DoTimeBuffer(struct Application *);
  71. void DoABBuffer(struct Application *);
  72. void DoSizeBuffer(struct Application *);
  73. float CalcAudioSize(LONG, LONG, LONG);
  74. void DoCDDBID(struct CDStruct *);
  75.  
  76. void CreateAppIcon(struct Application *);
  77. void FreeAppIcon(struct Application *);
  78. void MakeBusy(struct Application *, BOOL);
  79. BOOL CreateCommodity(struct Application *);
  80. BOOL OpenCDStruct(struct CDStruct *);
  81. void FreeCDStruct(struct CDStruct *);
  82. BOOL UpdateCDTitles(struct Application *);
  83. BOOL IsDefaultTitle(char *, UBYTE);
  84.  
  85. void RefreshBevelBox(struct RastPort *, struct BevelBox *, WORD, WORD);
  86. void SelectGadget(struct Application *, WORD, WORD, BOOL);
  87. void ChangeButtonText(struct Application *, WORD, WORD, char *);
  88. void ManageNewSize(struct Application *, WORD);
  89. void RemoveMenus(struct Application *);
  90. void AttachMenus(struct Application *);
  91. void AdjustNewSize(struct Application *, WORD, WORD, WORD);
  92. WORD TextWidth(char *, struct TextAttr *);
  93. WORD FindWidest(char **, struct TextAttr *);
  94. char *NumToStr(LONG);
  95. LONG RandomNum(LONG, LONG);
  96. LONG FitInteger(LONG, LONG, LONG);
  97. LONG InsertBoolean(LONG, LONG, BOOL);
  98.  
  99. BOOL CreateScrollObject(struct Scroll *);
  100. void UpdateScrollObject(struct Scroll *, struct Window *);
  101. void DisposeScrollObject(struct Scroll *);
  102. BOOL GetPubScreenName(struct Screen *, char *);
  103. BOOL GetPubScreenList(struct Application *);
  104. void FreeList(struct List *);
  105. Node *FindNode(struct List *, ULONG);
  106.  
  107. extern STRPTR GetString(register __a0 struct LocaleInfo *li, register __d0 ULONG id);
  108.  
  109. #include "AsmLib/QuickFuncs.h"