home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 13 / AACD13.ISO / AACD / Utilities / ACDPlay / src / V1.6 / ACDPlay_protos.h < prev    next >
C/C++ Source or Header  |  1998-01-20  |  5KB  |  120 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 HandleAppItemEvents(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 AppAsl *, struct Screen *);
  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. BOOL PlayListStart(struct CDStruct *, int starttrack = 0);
  35. BOOL PlayListNext(struct CDStruct *);
  36. BOOL PlayListPrev(struct CDStruct *);
  37. struct PlayListNode *GetFirstAudioElement(struct CDxTOC *, struct List *);
  38. struct PlayListNode *GetRandomElement(struct List *);
  39. void InitRandomElements(struct List *);
  40. struct PlayListNode *FindFirstMatchingElement(struct List *, int);
  41. LONG CDPlayVerify(struct CDStruct *, UBYTE);
  42.  
  43. BOOL ProgramDelete(struct Application *);
  44. BOOL ProgramAppendElement(struct Application *, UWORD);
  45. BOOL ProgramDeleteElement(struct Application *, ULONG);
  46. BOOL ProgramCopyAll(struct Application *);
  47. BOOL ProgramSave(struct Application *);
  48. BOOL ProgramLoad(struct Application *);
  49.  
  50. struct Application *CreateApplication(char *);
  51. void DeleteApplication(struct Application *);
  52. BOOL OpenApplication(struct Application *, BOOL activate = TRUE);
  53. void CloseApplication(struct Application *);
  54. void Iconify(struct Application *);
  55. void UnIconify(struct Application *);
  56.  
  57. UWORD *CreatePanelData(BOOL, UWORD, UWORD);
  58. void DrawPanelGadgets(BOOL, struct RastPort *, UWORD, UWORD);
  59. void Triangle(struct RastPort *, WORD, WORD, WORD, WORD, WORD, WORD);
  60.  
  61. BOOL MakeVisuals(struct Application *, WORD);
  62. BOOL MakeMenus(struct Application *);
  63. BOOL OpenAppWin(struct Application *, WORD, BOOL activate = TRUE);
  64. void CloseAppWin(struct Application *, WORD, BOOL realclose = TRUE);
  65. void StripIntuiMessages(struct Window *);
  66.  
  67. void UpdateGadgets(struct Application *);
  68. void UpdateTrackNumber(struct Application *);
  69. void UpdateCurrentTrack(struct Application *);
  70. void UpdateStatus(struct Application *);
  71. void UpdateTimePercent(struct Application *, int);
  72. void UpdateTimeGadget(struct Application *);
  73. void UpdateUnitLUN(struct Application *);
  74. void TestABRepeat(struct Application *);
  75.  
  76. void MakeInterior(struct Application *, WORD);
  77. void UpdateWinTitle(struct Application *);
  78. void DoTimeBuffer(struct Application *);
  79. void DoABBuffer(struct Application *);
  80. void DoSizeBuffer(struct Application *);
  81. float CalcAudioSize(LONG, LONG, LONG);
  82. void DoCDDBID(struct CDStruct *);
  83.  
  84. void CreateAppItem(struct Application *);
  85. void FreeAppItem(struct Application *);
  86. void MakeBusy(struct Application *, BOOL);
  87. BOOL CreateCommodity(struct Application *);
  88. BOOL OpenCDStruct(struct CDStruct *);
  89. void FreeCDStruct(struct CDStruct *);
  90. BOOL UpdateCDTitles(struct Application *);
  91. BOOL IsDefaultTitle(char *, UBYTE);
  92.  
  93. void RefreshBevelBox(struct RastPort *, struct BevelBox *, WORD, WORD);
  94. void SelectGadget(struct Application *, WORD, WORD, BOOL);
  95. void ChangeButtonText(struct Application *, WORD, WORD, char *);
  96. void ManageNewSize(struct Application *, WORD);
  97. void RemoveMenus(struct Application *);
  98. void AttachMenus(struct Application *);
  99. void AdjustNewSize(struct Application *, WORD, WORD, WORD);
  100. WORD TextWidth(char *, struct TextAttr *);
  101. WORD FindWidest(char **, struct TextAttr *);
  102. char *NumToStr(LONG);
  103. LONG RandomNum(LONG, LONG);
  104. LONG FitInteger(LONG, LONG, LONG);
  105. LONG InsertBoolean(LONG, LONG, BOOL);
  106.  
  107. BOOL CreateScrollObject(struct Scroll *);
  108. void UpdateScrollObject(struct Scroll *, struct Window *);
  109. void DisposeScrollObject(struct Scroll *);
  110. BOOL GetPubScreenName(struct Screen *, char *);
  111. BOOL GetPubScreenList(struct Application *);
  112.  
  113. struct List *CopyList(struct List *, int);
  114. void FreeList(struct List *);
  115. Node *FindNode(struct List *, ULONG);
  116. int GetNodeNumber(struct List *, struct Node *);
  117.  
  118. extern STRPTR GetString(register __a0 struct LocaleInfo *li, register __d0 ULONG id);
  119.  
  120. #include "AsmLib/QuickFuncs.h"