1 #ifndef WANDERER_FILESYSTEMS_H
2 #define WANDERER_FILESYSTEMS_H
10 #include <exec/types.h>
11 #include <exec/memory.h>
13 #include <intuition/intuitionbase.h>
14 #include <intuition/classusr.h>
15 #include <clib/alib_protos.h>
16 #include <utility/utility.h>
17 #include <dos/dosextens.h>
18 #include <libraries/mui.h>
19 #include <clib/alib_protos.h>
20 #include <proto/exec.h>
21 #include <proto/dos.h>
22 #include <proto/muimaster.h>
23 #include <proto/intuition.h>
25 /* FILEINFO CONSTANTS */
28 #define DELMODE_DELETE 1
31 #define DELMODE_NONE 4
33 #define ACCESS_SKIP DELMODE_DELETE
34 #define ACCESS_BREAK DELMODE_NONE
36 #define FILEINFO_DIR 1
37 #define FILEINFO_PROTECTED 2
38 #define FILEINFO_WRITE 4
41 #define ACTION_DELETE 2
42 #define ACTION_DIRTOABS 4
43 #define ACTION_MAKEDIRS 8
44 #define ACTION_GETINFO 16
45 #define ACTION_UPDATE (1 << 31)
48 #define PATH_RECURSIVE 1
49 #define PATH_NONRECURSIVE 2
52 #define PATHBUFFERSIZE 2048
53 #define COPYLEN 131072
54 #define POOLSIZE COPYLEN * 2
68 unsigned int difftime
;
72 struct MUIDisplayObjects
79 Object
*performanceObject
;
88 unsigned long long bytes
;
102 struct FileEntry
*next
;
106 char *CombineString(char *format
, ...);
107 void freeString(APTR pool
, char *str
);
109 WORD
AskChoiceNew(char *title
, char *strg
, char *gadgets
, UWORD sel
, BOOL centered
);
110 WORD
AskChoice(char *title
, char *strg
, char *gadgets
, UWORD sel
);
111 WORD
AskChoiceCentered(char *title
, char *strg
, char *gadgets
, UWORD sel
);
113 BOOL
CopyContent(APTR p
, char *s
, char *d
, BOOL makeparentdir
, ULONG flags
, struct Hook
*displayHook
, struct Hook
*delHook
, APTR userdata
);
115 #endif /* WANDERER_FILESYSTEMS_H */