home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 6 / AACD06.ISO / AACD / System / WBStartup+ / Source / WBStartup+OS3.x / WBStartup+.h < prev    next >
C/C++ Source or Header  |  1998-10-26  |  1KB  |  39 lines

  1. struct WBStartupNode
  2. {
  3.   struct Node node;
  4.   struct DiskObject *diskobj;
  5.   unsigned long   StackSize;
  6.   long   toolpri;
  7.   unsigned long   wait;
  8. };
  9.  
  10. struct WBStartupPrefs
  11. {
  12.   char ExecutePath[200];
  13.   char StoragePath[200];
  14.   BOOL ShowWindow;
  15.   UBYTE BackgroundType;
  16.   char BackgroundFilename[201];
  17.   BOOL Interactive;
  18.   char PrefsPath[200];
  19.   char PubScreenName[200];
  20. };
  21.  
  22. /* Types for BackgroundType */
  23. #define NONE       0
  24. #define WORKBENCH  (WBP_ROOT+1)
  25. #define WINDOWS    (WBP_DRAWER+1)
  26. #define SCREEN     (WBP_SCREEN+1)
  27. #define USERDEFINED ((unsigned char)(~0))
  28.  
  29. void GetFilenames(struct List *filenamequeue, APTR memPool, char *directory, BOOL ShowWindow);
  30. void RunPrograms(struct List *filenamequeue, struct WBStartupPrefs *prefs);
  31. void GetArguments(int argc, char **argv, struct WBStartupPrefs *prefs);
  32. void ShowRequester(STRPTR RequesterText);
  33. void DisplayVars(void);
  34. void FreeIcons(struct List *list);
  35. void RunPrefs(struct WBStartupPrefs *prefs);
  36. struct Node *FindNameNoCase(struct List *list, char *name);
  37. BOOL CheckSemaphore(void);
  38.  
  39.