home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 5
/
FreshFish_July-August1994.bin
/
bbs
/
os20
/
forceicon-1.2.lha
/
ForceIcon
/
Source
/
Protos.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-12-31
|
3KB
|
59 lines
/* START: "Interface.c" */
BOOL OpenMainWin (void);
void CloseMainWin (void);
BOOL OpenEditWin (void);
void CloseEditWin (void);
BOOL OpenManWin (void);
void CloseManWin (void);
BOOL OpenPosWin (void);
void ClosePosWin (void);
BOOL HandleMainWin (BOOL *QuitIT);
struct VolEntry *AddNewVolume (char *Name, ULONG Type);
BOOL HandleEditWin (void);
BOOL HandleManWin (void);
void HandlePosWin (void);
void SetGetFileState (struct Gadget *Gad, struct Window *Win, BOOL State);
/* END: "Interface.c" */
/* START: "Support.c" */
UWORD ComputeX (UWORD value, UWORD FontX);
UWORD ComputeY (UWORD value, UWORD FontY);
void __stdargs ComputeFont (struct Screen *WorkScreen, UWORD width, UWORD height, struct TextAttr *Font, char *FontName, UWORD *OffX, UWORD *OffY, UWORD *FontX, UWORD *FontY);
BOOL OpenWin ( UWORD Left, UWORD Top, UWORD Width, UWORD Height, struct Gadget **BaseGadget, UWORD NumGads, struct _Object **GetFile, struct NewGadget *NewGads, UWORD *GTypes, ULONG *GTags, struct Gadget **MyGads, struct Window **Handle, char *Title, ULONG IDCMP, ULONG FLAGS, UWORD MLeft, UWORD MTop, UWORD MWidth, UWORD MHeight, struct TextAttr *WinTxtAttr, char *WinTxtFontName, struct VisualInfo **VisInfo);
void CloseWin (struct Window **Handle, struct Gadget **MyGad, struct VisualInfo **VisInfo, struct _Object **GetFile);
void SetGadShortCut (UWORD Type, struct NewGadget *NewGad);
BOOL GetDevVolList (struct List *VolList);
BOOL GetDosEntries (struct List *VolList, ULONG Mode);
void FreeDevVolList (struct List *VolList);
void CheckKeys (ULONG *MsgClass, UWORD *MsgCode, UWORD *GadID, BOOL *KeyUse, struct Gadget **MsgGad, struct Gadget **EditGads, UWORD NumGads);
ULONG HandleListViewGad (struct Gadget *Gad, struct Window *MsgWin, BOOL KeyUse, UWORD MsgCode, UWORD MsgQual, LONG Val, ULONG Min, ULONG Max);
ULONG HandleCycleGad (struct Gadget *Gad, struct Window *MsgWin, BOOL KeyUse, UWORD MsgCode, UWORD MsgQual, ULONG Val, ULONG Min, ULONG Max);
APTR GetListEntry (struct List *List, WORD EntryNum);
void BusyWindow (struct Window *Window, struct Requester *MyReq);
void UnBusyWindow (struct Window *Window, struct Requester *MyReq);
BOOL SavePrefs (BOOL EnvMode);
BOOL DoSavePrefs (char *PrefsName);
void LoadPrefs (void);
BOOL DoLoadPrefs (char *PrefsName);
BOOL GetFileName (struct Window *Window, char *Title, char *FileName);
BOOL CheckExists (char *Name);
void SortList (struct List *VolList, BOOL DisplayType);
void SortPartialList (struct List *VolList, UWORD Left, UWORD Right);
/* END: "Support.c" */
/* START: "Error.c" */
void __stdargs DisplayError (LONG ErrCode, ULONG Arg1, ...);
/* END: "Error.c" */
/* START: "ForceIcon.c" */
ULONG __saveds main (void);
void chkabort (void);
void __stdargs _XCEXIT (LONG Val);
BOOL CheckToolTypes (char *HotKeyDef, ULONG *Pri, BOOL *PopUp);
ULONG __saveds __asm MyGetIcon (register __a0 UBYTE *Name, register __a1 struct DiskObject *DObj, register __a2 struct FreeList *FList, register __a6 struct Library *IconBase);
ULONG __asm DoForce (register __a0 UBYTE *Name, register __a1 struct DiskObject *DObj, register __a2 struct FreeList *FList, register __a6 struct Library *IconBase);
ULONG __saveds __asm MyLock (register __d1 UBYTE *Name, register __d2 ULONG Mode, register __a6 struct DosLibrary *DOSBase);
BOOL OpenAll (void);
void CloseAll (void);
void HandleInput (struct MsgPort *BrokerPort, CxObj *InputBroker);
/* END: "ForceIcon.c" */
/* START: "ForceIcon_gst.c" */
/* END: "ForceIcon_gst.c" */