1 #ifndef WANDERER_FILESYSTEMS_H
2 #define WANDERER_FILESYSTEMS_H
5 #include "portable_macros.h"
14 #include <exec/types.h>
15 #include <exec/memory.h>
17 #include <intuition/intuitionbase.h>
18 #include <intuition/classusr.h>
21 #include <clib/alib_protos.h>
24 #include <utility/utility.h>
25 #include <dos/dosextens.h>
26 #include <libraries/mui.h>
27 #include <proto/exec.h>
28 #include <proto/dos.h>
29 #if defined(__AMIGA__) && !defined(__PPC__)
30 #define NO_INLINE_STDARG
32 #include <proto/muimaster.h>
34 #ifndef _PROTO_INTUITION_H
35 #include <proto/intuition.h>
38 /* FILEINFO CONSTANTS */
41 #define DELMODE_DELETE 1
44 #define DELMODE_NONE 4
46 #define ACCESS_SKIP DELMODE_DELETE
47 #define ACCESS_BREAK DELMODE_NONE
49 #define FILEINFO_DIR 1
50 #define FILEINFO_PROTECTED 2
51 #define FILEINFO_WRITE 4
54 #define ACTION_DELETE 2
55 #define ACTION_DIRTOABS 4
56 #define ACTION_MAKEDIRS 8
57 #define ACTION_GETINFO 16
58 #define ACTION_UPDATE (1 << 31)
61 #define PATH_RECURSIVE 1
62 #define PATH_NONRECURSIVE 2
65 #define PATHBUFFERSIZE 2048
66 #define COPYLEN 131072
67 #define POOLSIZE COPYLEN * 2
81 unsigned int difftime
;
85 struct MUIDisplayObjects
92 Object
*performanceObject
;
101 unsigned long long bytes
;
103 char SpeedBuffer
[32];
115 struct FileEntry
*next
;
119 char *CombineString(char *format
, ...);
120 void freeString(APTR pool
, char *str
);
122 WORD
AskChoiceNew(char *title
, char *strg
, char *gadgets
, UWORD sel
, BOOL centered
);
123 WORD
AskChoice(char *title
, char *strg
, char *gadgets
, UWORD sel
);
124 WORD
AskChoiceCentered(char *title
, char *strg
, char *gadgets
, UWORD sel
);
126 BOOL
CopyContent(APTR p
, char *s
, char *d
, BOOL makeparentdir
, ULONG flags
, struct Hook
*displayHook
, struct Hook
*delHook
, APTR userdata
);
128 #endif /* WANDERER_FILESYSTEMS_H */